We're updating the issue view to help you get more done. 

Support SiteRoot in Launches

Description

If you open a Launch of an AEM page, the SiteRoot.getRootPath() returns the wrong path.

Steps to reproduce:

  1. Site to site admin, select a page with a Launch (e.g. a page in a translation project)

  2. In the side panel go to References > Launches, select a launch and click on "Go to the Page"

  3. The page is being called in edit mode like
    http://localhost:4502/editor.html/content/launches/2018/10/16/translation_review2/content/brand/en/page.html

  4. Every component which uses the SiteRoot model (e.g. the main navigation) throws an NPE, because the node at site root level is one of the nt:Folders "launches/2018/10/16" which cannot be adapted to a page

The SiteRoot should use the original root path, when is called from a Launch page

Environment

None

Status

Assignee

Unassigned

Reporter

Masoud Rozati

Labels

None

Components

Fix versions

Priority

Major