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 13:12:42 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13292751#comment-13292751 ] 

Guillaume Nodet commented on FELIX-3487:
----------------------------------------

URL: http://svn.apache.org/viewvc?rev=1348779&view=rev
                
> 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: fileinstall-3.2.4, utils-1.1.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 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

        

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

Posted by Bengt Rodehav <be...@rodehav.com>.
Again thanks a lot,

/Bengt

2012/6/11 Guillaume Nodet <gn...@gmail.com>

> I need to see if there are other issues to work on before cutting a
> release, but I'll add that on my todo list for sure.
>
> On Mon, Jun 11, 2012 at 1:38 PM, Bengt Rodehav <be...@rodehav.com> wrote:
> > Thanks a lot for fixing this Guillaume - I really appreciate it.
> >
> > Do you have any idea of when the next release of fileinstall is planned
> > for? It would be really nice if this fix would make it all the way into
> the
> > next release of Karaf.
> >
> > /Bengt
> >
> > 2012/6/11 Guillaume Nodet (JIRA) <ji...@apache.org>
> >
> >>
> >>    [
> >>
> https://issues.apache.org/jira/browse/FELIX-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292751#comment-13292751
> ]
> >>
> >> Guillaume Nodet commented on FELIX-3487:
> >> ----------------------------------------
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1348779&view=rev
> >>
> >> > 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: fileinstall-3.2.4, utils-1.1.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 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
> >>
> >>
> >>
>
>
>
> --
> ------------------------
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> FuseSource, Integration everywhere
> http://fusesource.com
>

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

Posted by Guillaume Nodet <gn...@gmail.com>.
I need to see if there are other issues to work on before cutting a
release, but I'll add that on my todo list for sure.

On Mon, Jun 11, 2012 at 1:38 PM, Bengt Rodehav <be...@rodehav.com> wrote:
> Thanks a lot for fixing this Guillaume - I really appreciate it.
>
> Do you have any idea of when the next release of fileinstall is planned
> for? It would be really nice if this fix would make it all the way into the
> next release of Karaf.
>
> /Bengt
>
> 2012/6/11 Guillaume Nodet (JIRA) <ji...@apache.org>
>
>>
>>    [
>> https://issues.apache.org/jira/browse/FELIX-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292751#comment-13292751]
>>
>> Guillaume Nodet commented on FELIX-3487:
>> ----------------------------------------
>>
>> URL: http://svn.apache.org/viewvc?rev=1348779&view=rev
>>
>> > 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: fileinstall-3.2.4, utils-1.1.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 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
>>
>>
>>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

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

Posted by Bengt Rodehav <be...@rodehav.com>.
Thanks a lot for fixing this Guillaume - I really appreciate it.

Do you have any idea of when the next release of fileinstall is planned
for? It would be really nice if this fix would make it all the way into the
next release of Karaf.

/Bengt

2012/6/11 Guillaume Nodet (JIRA) <ji...@apache.org>

>
>    [
> https://issues.apache.org/jira/browse/FELIX-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292751#comment-13292751]
>
> Guillaume Nodet commented on FELIX-3487:
> ----------------------------------------
>
> URL: http://svn.apache.org/viewvc?rev=1348779&view=rev
>
> > 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: fileinstall-3.2.4, utils-1.1.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 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
>
>
>