You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/06/11 09:15:42 UTC

[jira] [Assigned] (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 ]

Guillaume Nodet reassigned FELIX-3487:
--------------------------------------

    Assignee: Guillaume Nodet
    
> 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
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira