Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11280

Reference without field and method throws exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Testing OSGi Mock 3.2.2
    • Testing OSGi Mock 3.3.0
    • Testing
    • None

    Description

      A reference without specifying a field or method is allowed for a DS component, however with testing mocks this will throw an exception, due to
      https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/blob/master/core/src/main/java/org/apache/sling/testing/mock/osgi/OsgiServiceUtil.java#L660

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: