[
https://issues.apache.org/jira/browse/FELIX-6279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved FELIX-6279.
-------------------------------------
Resolution: Fixed
> Configurator does not update 'force' configurations when bundle is unchanged
> ----------------------------------------------------------------------------
>
> Key: FELIX-6279
> URL: https://issues.apache.org/jira/browse/FELIX-6279
> Project: Felix
> Issue Type: Bug
> Components: Configurator
> Reporter: Peter Kriens
> Assignee: Peter Kriens
> Priority: Major
> Fix For: configurator-1.0.12
>
>
> We have a situation where the force policy is used. We expected that this
> configuration overwrites any local changes. It did, however, not write the
> configuration in Felix Configurator. After debugging, we found that if the
> bundle's configuration file was unchanged *from its previous version*, the
> configuration was never applied to Configuration Admin.
> However, if there was a change locally in Configuration Admin, the force
> policy should overwrite this to the configuration in the bundle. This does
> not happen if the bundle is unchanged.
> - make a bundle B, configuration file: {{pid.A | :force: foo=1}}
> - Install B
> - change {{pid.A | foo=2}}
> - update B (without changing it)
> - Note that CA still is {{pid.A | foo=2}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)