Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10432

Regression: incorrect mapping result for aliased pages

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      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

      resourceResolver.map("/foo/quux");
      

      This was likely broken during the changes done for the 1.7.0 Resource Resolver release.

        Attachments

          Activity

            People

            • Assignee:
              rombert Robert Munteanu
              Reporter:
              rombert Robert Munteanu

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m

                  Issue deployment