Component display depends on ManagedService[Factory] instances to be registered 
for components
----------------------------------------------------------------------------------------------

                 Key: FELIX-1224
                 URL: https://issues.apache.org/jira/browse/FELIX-1224
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-1.2.10
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-1.2.12


To decided whether a component has configuration to edit or not, the 
ComponentsServlet uses existing configurations from the configuration admin and 
checks for ManagedService services for the respective PIDs.

This gets incomplete results if there are no ManagedService services or if a 
component is backed by a ManagedServiceFactory (like factory components). Since 
FELIX-1223 will effectively remove the used of ManagedService[Factory] 
services, this current mechanism is bound to fail anyway.

The fix is to use the bundle providing the component and the components PID to 
check for MetaTypeInformation for the component. If such information is 
available, the component is configurable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to