[ 
https://issues.apache.org/jira/browse/KARAF-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123098#comment-16123098
 ] 

ASF subversion and git services commented on KARAF-5305:
--------------------------------------------------------

Commit 5cc9c81b3aadacab6c33614f22680b2acadde20d in karaf's branch 
refs/heads/master from [~ch...@die-schneider.net]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=5cc9c81 ]

[KARAF-5305] Fix issue when cfg file exists


> FeatureConfigInstaller writes incorrect config if append=true and file 
> already exists
> -------------------------------------------------------------------------------------
>
>                 Key: KARAF-5305
>                 URL: https://issues.apache.org/jira/browse/KARAF-5305
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-config
>    Affects Versions: 4.2.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.2.0
>
>
> While improving the org.apache.karaf.features.AppendTest I found that there 
> is a case where the FeatureConfigInstaller behaves incorrectly.
> If you add cfgFile.createNewFile() to testAppend then the code does not use  
> the java Property class to write the config but the felix TypedProperties. 
> The resulting file looks like this:
> javax.servlet.context.tempdir = ( \
> \
>   "data/pax-web-jsp", \
> \
> )
> This is incorrect as the property javax.servlet.context.tempdir contains a 
> simple String not an array.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to