Support configurations with old pid
-----------------------------------
Key: SLING-2444
URL: https://issues.apache.org/jira/browse/SLING-2444
Project: Sling
Issue Type: Improvement
Components: Installer
Affects Versions: JCR Installer 3.1.2
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Installer 3.1.4
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira