Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1352

Do not overwrite existing configuration when installing a subsystem

    XMLWordPrintableJSON

Details

    Description

      I have a subsystem which embeds a configuration file (using "embedded-resource" and type="osgi.config.properties" in the manifest file).

      When this subsystem is started, the configuration is applied, as expected.
      However, if a configuration file with the same PID is created, while the subsystem is still not started, the configuration is overwritten by the subsystem resource on start.

      I think that ConfigAdminContentHandler should check if the configuration entries exist before updating it from the subsystem resource.

      Attachments

        1. aries-1352.patch
          7 kB
          Alexandre Roman

        Issue Links

          Activity

            People

              bosschaert David Bosschaert
              romale Alexandre Roman
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: