Julian Sedding created SLING-13265:
--------------------------------------
Summary: Wrong ResourceMetadata for alias resolution with
unreadable ancestor
Key: SLING-13265
URL: https://issues.apache.org/jira/browse/SLING-13265
Project: Sling
Issue Type: Bug
Components: ResourceResolver
Affects Versions: Resource Resolver 2.0.4
Reporter: Julian Sedding
Assignee: Julian Sedding
Given a request for a path where some parent nodes are not readable and some
nodes use aliases, the {{ResourceMetadata}} of a resolved resource can be
incorrect.
E.g. assume the following path
{noformat}
/content/es/solutions/airlines(sling:alias=aerolineas)/products(sling:alias=productos)/wings(sling:alias=alas){noformat}
If one of "/", "/content" or "/content/es" is not readable/visible to the
{{ResourceResolver}}, e.g. due to permissions, then the resolution of
{noformat}/content/es/solutions/aerolineas/productos/alas.html{noformat}
currently results in
{noformat}
resolutionPath=/es/solutions/aerolineas/productos/alas
resolutionPathInfo=tos/alas.html
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)