You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carl Hall (JIRA)" <ji...@apache.org> on 2011/02/18 03:51:11 UTC

[jira] Created: (FELIX-2848) Saving config file to original location shouldn't add system properties

Saving config file to original location shouldn't add system properties
-----------------------------------------------------------------------

                 Key: FELIX-2848
                 URL: https://issues.apache.org/jira/browse/FELIX-2848
             Project: Felix
          Issue Type: Improvement
          Components: File Install
    Affects Versions: fileinstall-3.1.10
            Reporter: Carl Hall
            Priority: Minor


When a configuration ending with .config is written back to it's originating location, system properties are also written out; service.pid, serviceFactory.pid, felix.fileinstall.filename. These properties are filtered out when writing back a .cfg file and should be filtered out of .config because they are calculated each time the file is loaded.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (FELIX-2848) Saving config file to original location shouldn't add system properties

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned FELIX-2848:
---------------------------------------

    Assignee: Carsten Ziegeler

> Saving config file to original location shouldn't add system properties
> -----------------------------------------------------------------------
>
>                 Key: FELIX-2848
>                 URL: https://issues.apache.org/jira/browse/FELIX-2848
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.1.10
>            Reporter: Carl Hall
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: felix-2848.diff
>
>
> When a configuration ending with .config is written back to it's originating location, system properties are also written out; service.pid, serviceFactory.pid, felix.fileinstall.filename. These properties are filtered out when writing back a .cfg file and should be filtered out of .config because they are calculated each time the file is loaded.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2848) Saving config file to original location shouldn't add system properties

Posted by "Carl Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Hall updated FELIX-2848:
-----------------------------

    Attachment: felix-2848.diff

Attaching patch to filter out the listed fields when saving a .config file.

> Saving config file to original location shouldn't add system properties
> -----------------------------------------------------------------------
>
>                 Key: FELIX-2848
>                 URL: https://issues.apache.org/jira/browse/FELIX-2848
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.1.10
>            Reporter: Carl Hall
>            Priority: Minor
>         Attachments: felix-2848.diff
>
>
> When a configuration ending with .config is written back to it's originating location, system properties are also written out; service.pid, serviceFactory.pid, felix.fileinstall.filename. These properties are filtered out when writing back a .cfg file and should be filtered out of .config because they are calculated each time the file is loaded.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (FELIX-2848) Saving config file to original location shouldn't add system properties

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved FELIX-2848.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-3.1.12

Thanks for your patch, Carl!

I've applied it in revision 1071908

> Saving config file to original location shouldn't add system properties
> -----------------------------------------------------------------------
>
>                 Key: FELIX-2848
>                 URL: https://issues.apache.org/jira/browse/FELIX-2848
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>    Affects Versions: fileinstall-3.1.10
>            Reporter: Carl Hall
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: fileinstall-3.1.12
>
>         Attachments: felix-2848.diff
>
>
> When a configuration ending with .config is written back to it's originating location, system properties are also written out; service.pid, serviceFactory.pid, felix.fileinstall.filename. These properties are filtered out when writing back a .cfg file and should be filtered out of .config because they are calculated each time the file is loaded.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira