Boban Petkovic created KARAF-6322:
-------------------------------------
Summary: 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: webconsole
Reporter: Boban Petkovic
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
(v7.6.3#76005)