You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/02/20 13:26:11 UTC
[jira] [Assigned] (KARAF-3527) Appending config from feature
doesn't work
[ https://issues.apache.org/jira/browse/KARAF-3527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reassigned KARAF-3527:
--------------------------------------
Assignee: Guillaume Nodet
> 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: 4.0.0, 3.0.3
> Reporter: Karl Leopold
> Assignee: Guillaume Nodet
> Fix For: 4.0.0, 2.4.2, 3.0.4
>
> Attachments: fix-feature-conf-apply.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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)