Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3527

Appending config from feature doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.3, 4.0.0.M3
    • 2.4.2, 3.0.4, 4.0.0.M3
    • karaf
    • None

    Description

      Imagine the following feature:

      <features ...>
        <feature ...>
           ...
           <config name="org.foo" append="true">
                foo = bar
           </config>
           ....
      

      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

      Attachments

        1. fix-feature-conf-apply.patch
          3 kB
          Karl Leopold

        Activity

          People

            gnodet Guillaume Nodet
            palador Karl Leopold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified