karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-6322) Karaf 4.2.0 Web console parsing issue
Date Mon, 10 Jun 2019 11:34:00 GMT

     [ 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: 4.2.7
                   4.3.0

> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: 4.3.0, 4.2.7
>
>
> 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)

Mime
View raw message