You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jürgen Albert (JIRA)" <ji...@apache.org> on 2018/09/18 12:20:00 UTC

[jira] [Created] (FELIX-5932) Configurator does not update existing Configurations

Jürgen Albert created FELIX-5932:
------------------------------------

             Summary: Configurator does not update existing Configurations
                 Key: FELIX-5932
                 URL: https://issues.apache.org/jira/browse/FELIX-5932
             Project: Felix
          Issue Type: Bug
          Components: Configurator
    Affects Versions: configurator-1.0.4
            Reporter: Jürgen Albert
         Attachments: test.component.jar, test.config_v1.jar, test.config_v2.jar

If I update a configuration in a Bunde and redeploy it, existing configurations are not updated. Delete and adding new configs works. 

 

Find atteched 3 Bundles:

test.component defines a Example Component, that has a activate, modefied and deactivate method. All Methods will print out the method name and its properties. 

test.config_v1 and v2 have a Config for this Component, where a properties has changed. It looks as follows:

{
 ":configurator:resource-version": 1,
 ":configurator:policy" : "force", 
 "ExampleComponent": 
 {
 ":configurator:policy" : "force", 
 "your.prop.here": "text" 
 }
}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)