[
https://issues.apache.org/jira/browse/KARAF-6322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated KARAF-6322:
----------------------------------------
Fix Version/s: (was: 4.2.7)
4.2.8
> Karaf 4.2.0 Web console parsing issue
> -------------------------------------
>
> Key: KARAF-6322
> URL: https://issues.apache.org/jira/browse/KARAF-6322
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Reporter: Boban Petkovic
> Assignee: Jean-Baptiste Onofré
> Priority: Critical
> Labels: webconsole
> Fix For: 4.3.0, 4.2.8
>
>
> Very often it happens that after OSGi configuration update is done through
> web console, the corresponding configuration file (from karaf_home/etc) gets
> updated with the wrong brackets for a property that represents an array. The
> right brackets that should be used are square brackets "[", "]" and for some
> reason karaf sometimes put round brackets "(", ")". When that happens after
> the server gets restarted, it won't interpret well array of values, which
> leads to broken OSGi configuration. We rely a lot on configuration files (we
> use files with .config extension) and this causes a lot of problems.
> For example, the broken configuration file looks like this:
> {code:java}
> property = ("value1", "value2", "value3")
> {code}
> instead of using square brackets
> {code:java}
> property = ["value1", "value2", "value3"]{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)