You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2021/05/28 13:36:00 UTC
[jira] [Created] (SLING-10432) Regression: incorrect mapping result
for aliased pages
Robert Munteanu created SLING-10432:
---------------------------------------
Summary: Regression: incorrect mapping result for aliased pages
Key: SLING-10432
URL: https://issues.apache.org/jira/browse/SLING-10432
Project: Sling
Issue Type: Bug
Components: ResourceResolver
Affects Versions: Resource Resolver 1.7.0
Reporter: Robert Munteanu
Assignee: Robert Munteanu
Fix For: Resource Resolver 1.7.8
We inadvertently changed the way {{resourceResolver.map()}} calls work for aliases. Assuming that we have a page at {{/foo/bar}} with a {{sling:alias}} property set to {{quux}}, the following code should return "/foo/quux", but returns "/foo/bar" instead
{code:java}
resourceResolver.map("/foo/quux");
{code}
This was likely broken during the changes done for the 1.7.0 Resource Resolver release.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)