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/06/07 09:38:00 UTC

[jira] [Closed] (SLING-10432) Regression: incorrect mapping result for aliased pages

     [ https://issues.apache.org/jira/browse/SLING-10432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu closed SLING-10432.
-----------------------------------

> 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
>            Priority: Critical
>             Fix For: Resource Resolver 1.7.8
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)