[jira] [Commented] (SLING-7014) Inheritance of configurations from parent content resource

2017-07-17 Thread Stefan Seifert (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16090471#comment-16090471
 ] 

Stefan Seifert commented on SLING-7014:
---

can you define a logger for category {{org.apache.sling.caconfig}}, set it to 
TRACE and put it's output into a separate file.
then reproduce the issue from this ticket and have a look a the log file.
if this does not help please attach the log file to this ticket.

> Inheritance of configurations from parent content resource
> --
>
> Key: SLING-7014
> URL: https://issues.apache.org/jira/browse/SLING-7014
> Project: Sling
>  Issue Type: Bug
>Reporter: Nitin Gupta
>Priority: Critical
>
> configure /content/dam/folder/@cq:conf = /conf/something
> Then use the sling context aware API to get the configuration for 
> /content/dam/folder/asset.png and I essentially get /conf/global (an 
> osgi-configured fallback) instead of /conf/something



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (SLING-7014) Inheritance of configurations from parent content resource

2017-07-17 Thread Alexander Klimetschek (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16090251#comment-16090251
 ] 

Alexander Klimetschek commented on SLING-7014:
--

[~cziegeler] [~sseif...@pro-vision.de] Could you look into this? If this is the 
case, it's a critical bug in the resolution logic of the default SPI 
implementation.

Note that {{cq:conf}} is our custom name for the {{sling:configRef}} property. 
As stated in the 
[documentation|http://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html]:

{quote}Go up in the content resource tree until a resource with sling:configRef 
is found. This is the 'inner-most' context. Check if a configuration resource 
exists at the path the property points to.{quote}

> Inheritance of configurations from parent content resource
> --
>
> Key: SLING-7014
> URL: https://issues.apache.org/jira/browse/SLING-7014
> Project: Sling
>  Issue Type: Bug
>Reporter: Nitin Gupta
>Priority: Critical
>
> configure /content/dam/folder/@cq:conf = /conf/something
> Then use the sling context aware API to get the configuration for 
> /content/dam/folder/asset.png and I essentially get /conf/global (an 
> osgi-configured fallback) instead of /conf/something



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)