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 2015/03/17 07:50:40 UTC

[jira] [Closed] (FELIX-3487) Variables are not preserved during write-back if they are defined as framework properties

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

Carsten Ziegeler closed FELIX-3487.
-----------------------------------

> Variables are not preserved during write-back if they are defined as framework properties
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-3487
>                 URL: https://issues.apache.org/jira/browse/FELIX-3487
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.2.2
>         Environment: Karaf 2.2.5
>            Reporter: Bengt Rodehav
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: utils-1.2.0, fileinstall-3.2.4
>
>         Attachments: ConfigInstaller.patch, Properties.patch
>
>
> Fileinstall tries to only write back (to the configuration file) properties that have been changed. This fails if the value uses a property that is defined as a framework property (accessible via BundleContext.getProperty). In theory file install does support this but when handling configuration changes, the framework properties are not taken into account.
> E g this is the case when using Karaf and defining properties in config.properties.
> This has been discussed on Felix user mailing list, see:
> http://www.mail-archive.com/users@felix.apache.org/msg12281.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)