Stefan Seifert created SLING-6152:
-------------------------------------

             Summary: Context-Aware Config: Config reference should be detected 
in ContextPathStrategy
                 Key: SLING-6152
                 URL: https://issues.apache.org/jira/browse/SLING-6152
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Context-Aware Configuration 1.0.0
            Reporter: Stefan Seifert
            Assignee: Stefan Seifert
             Fix For: Context-Aware Configuration 1.0.0


currently the DefaultContextPathStrategy checks for the availability of the 
sling:config-ref prop, but it does not return it's value, this is done in the 
DefaultConfigurationResourceResolvingStrategy.

this is as bit inconsistent, leading to configure the lookup of SLING-6149 in 
multiple places, and makes it more difficult to define scenarios where the 
config references is build on a conventions-based pattern (e.g. derived from 
content path) instead of an explicit sling:config-ref property.

the logic itself and other implementation details of both strategies remain 
untouched.



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

Reply via email to