[
https://issues.apache.org/jira/browse/SLING-10335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-10335.
--------------------------------------
Resolution: Fixed
> Wrong resource returned if overlap with mounted provider
> --------------------------------------------------------
>
> Key: SLING-10335
> URL: https://issues.apache.org/jira/browse/SLING-10335
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.7.4
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Resource Resolver 1.7.6
>
>
> When a resource provider is mounted at a path and the chilren of the parent
> are list and the parent resource provider has a resource with the same name,
> then the resource from the provider should be returned. Currently the
> resource from the parent is returned.
> Example:
> - Provider A mounted at /
> - Provider A has a resource at /some/path
> - Provider B mounted at /some/path returning a resource for /some/path
> - a call to listChildren("/some") should return the resource from B not A
--
This message was sent by Atlassian Jira
(v8.3.4#803005)