Support unbinding configurations through the Web Console
--------------------------------------------------------

                 Key: FELIX-1808
                 URL: https://issues.apache.org/jira/browse/FELIX-1808
             Project: Felix
          Issue Type: New Feature
          Components: Web Console
    Affects Versions: webconsole-2.0.2
            Reporter: Felix Meschberger
             Fix For: webconsole-2.0.4


There are times where configurations exist in the system which are bound to 
bundles which do not exist any more. This may for example happen if a bundle is 
being uninstalled while the Configuration Admin service is not running. Another 
cause might be explicit configuration binding as per a call to 
Configuration.setBundleLocation() as the trunk version of Apache Felix SCR 
does. A Bundle location set in this way is not removed even if the bundle is 
uninstalled.

To fix these issues, it would be helpfull if the web console would allow 
explicit unbinding of configurations by calling 
Configuration.setBundleLocation() with a null location. This does not cause 
configurations to actually be removed from any ManagedService[Factory] services 
or DS components. In fact the configuration will be bound again once it 
assigned. But in case of wrong bundle bindings, the configuration may 
afterwards be used again by components now located in bundles with a different 
bundle location.

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