You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/07/20 14:06:00 UTC

[jira] [Assigned] (FELIX-6279) Configurator does not update 'force' configurations when bundle is unchanged

     [ https://issues.apache.org/jira/browse/FELIX-6279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned FELIX-6279:
---------------------------------------

    Assignee: Peter Kriens

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