You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/04/23 17:11:38 UTC
[jira] [Updated] (SLING-4653) [Regression] Merging resource
provider is traversing parent hierarchy for finding hide properties
[ https://issues.apache.org/jira/browse/SLING-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-4653:
------------------------------------
Summary: [Regression] Merging resource provider is traversing parent hierarchy for finding hide properties (was: Resource merging properties are ignored if the direct parent of the read resource does not exist)
> [Regression] Merging resource provider is traversing parent hierarchy for finding hide properties
> -------------------------------------------------------------------------------------------------
>
> Key: SLING-4653
> URL: https://issues.apache.org/jira/browse/SLING-4653
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Affects Versions: Resource Merger 1.2.8
> Reporter: Joel Richard
> Priority: Critical
>
> If the parent of one of the merged resources does not exist, but another resource between the merged resource of the same search path and root has some resource merging properties attached, these properties are ignored in MergingResourceProvider because resource.getParent returns null and then it does not try to traverse to root anymore and therefore does not find these properties.
> Example:
> /apps/a with sling:hideChildren=*
> /libs/a/b/c
> If you try to read /mnt/overlay/a/b, it will return null. On the other hand, /mnt/overlay/a/b/c will return an unmodified merged resource.
> *Important:* Consider the performance impact when fixing this issue. See referenced issue for more information.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)