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)

Reply via email to