You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/06/12 08:04:07 UTC

[jira] Created: (FELIX-1224) Component display depends on ManagedService[Factory] instances to be registered for components

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.


[jira] Closed: (FELIX-1224) Component display depends on ManagedService[Factory] instances to be registered for components

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-1224.
------------------------------------

    Resolution: Fixed

Applied the proposed fix in Rev. 783995.

> 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.