Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2444

Support configurations with old pid

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Installer 3.1.2
    • JCR Installer 3.1.4
    • Installer
    • None

    Description

      With the rewrite of the jcr installer the PID changed from:
      org.apache.sling.jcr.install.impl.JcrInstaller
      to
      org.apache.sling.installer.provider.jcr.impl.JcrInstaller

      We should support potential configurations with the old PID by:

      • registering a managed service for the old pid
      • if a configuration arrives with the old pid, these values overwrite values from the new PID
      • log a warning in such cases

      All other mechanisms like trying to merge the configs are bound to fail. As there are only a few users having an own configuration for this service anyway, this is the best possible solution

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: