karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Leopold (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3527) Appending config from feature doesn't work
Date Fri, 13 Feb 2015 13:51:12 GMT
Karl Leopold created KARAF-3527:
-----------------------------------

             Summary: Appending config from feature doesn't work
                 Key: KARAF-3527
                 URL: https://issues.apache.org/jira/browse/KARAF-3527
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature
    Affects Versions: 3.0.3, 4.0.0
            Reporter: Karl Leopold
             Fix For: 3.0.4, 4.0.0.M2


Imagine the following feature:
{code}
<features ...>
  <feature ...>
     ...
     <config name="org.foo" append="true">
          foo = bar
     </config>
     ....
{code}

After reading the doc of the append flag, I'd assume, that _foo = bar_ is added to an existing
configuration _org.foo_, if the key _foo_ isn't set there already.

But: everything existing is removed, _foo = bar_ is the only entry left after installing that
feature.

yay, I wrote a patch



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message