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

MockBundleContext does not get service references when class is null and filter is non-null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Testing OSGi Mock 2.3.6
    • Testing OSGi Mock 2.3.8
    • Testing
    • None

    Description

      When invoking BundleContext api, when the class parameter is specified as null and filter param is non-null, it is expected to return reference of all services which satisfy the filter regardless of their class. 

      When the same api is invoked in MockBundleContext, it does not returns any service references when class param is null and filter param is non-null. MockBundleContextshould behave is a way which is similar to original implementation

      Attachments

        Issue Links

          Activity

            People

              sseifert Stefan Seifert
              sufyanharoon Sufyan Haroon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: