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

org.apache.felix.webconsole.internal.compendium.AjaxConfigManagerAction.configForm(): Configuration instance for a ManagedServiceFactory will cause Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • webconsole-1.2.0
    • Web Console
    • None

    Description

      A Configuration instance for a ManagedServiceFactory will cause an Exception in org.apache.felix.webconsole.internal.compendium.AjaxConfigManagerAction.configForm(), because the implementation will try to obtain an ObjectClassDefinition for the Configuration pid, rather than for the corresponding factoryPid.

      Fix:
      The method should verify if a factoryPid is assigned to the Configuration instance and handle this case properly.

      Attachments

        1. AjaxConfigManagerAction.java.diff
          0.8 kB
          Dieter Wimberger
        2. FELIX-587-fmeschbe.patch
          3 kB
          Felix Meschberger

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              wimpi Dieter Wimberger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: