Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5068

Issues with consecutive call to ServicePermission with different permissions for the same class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • framework-4.4.1
    • None
    • None

    Description

      If the same service permission is repeated in the file for the same class, e.g.
      ServicePermission("com.xxx.test.apps.inject.autoactivate.test01.InjectableBean","get")
      ServicePermission("com.xxx.test.apps.inject.autoactivate.test01.InjectableBean","register")

      the only latest permission is used as resulting. So in the mentioned case the only "register" permission will be requested for the service class and bundle cannot be started with the exception that "get" permission required for bundle to start.

      A comma-separated list of permissions should be added for service:
      ServicePermission("com.xxx.test.apps.inject.autoactivate.test01.InjectableBean","register,get")

      Attachments

        Activity

          People

            Unassigned Unassigned
            akilas Akila Sivakumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: