Stefan Seifert created SLING-6293:
-------------------------------------

             Summary: CAConfig: Separate SPI for Property Inheritance
                 Key: SLING-6293
                 URL: https://issues.apache.org/jira/browse/SLING-6293
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
            Reporter: Stefan Seifert
            Assignee: Stefan Seifert
             Fix For: Context-Aware Configuration SPI 1.1.2, Context-Aware 
Configuration Impl 1.1.2


currently, the property merging support is part of the 
DefaultConfigurationResourceResolvingStrategy, together with the support for 
resource collection merging.

this conflicts with custom ConfigurationPersistenceStrategy which redirect the 
root resource e.g. to a {{jcr:content}} child node - property merging is broken 
then. by definition ConfigurationPersistenceStrategy does not has any knowledge 
of ConfigurationPersistenceStrategy's (they are on a "higher level" dedicated 
only to configurations).

so the solution is to create a separate SPI for property merging, and apply it 
only to ConfigurationResolver and ConfigurationManager, not for the generic 
ConfigurationResourceResolver.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to