#106375Incomplete Rootline in Mountpoint Sub Page
Description
TYPO3 Version: 13.4.7
Environment: DDEV WSL2
The rootline `$GLOBALS[‘TYPO3_REQUEST’]->getAttribute(‘frontend.page.information’)->getRootline()` is incomplete in mounpoint sub pages. Only the current page and root page are available in the rootline. All pages between are missing.
Issues: slide backend_layout not working as expected in a mounpoint page tree, because the parent pages are not avaialble from current page. Only the root pages is evaluated.
Example setup:
2 Page Trees: Page Tree 1 is a regular page tree and page Tree 2 is a mounpoint to Page Tree 1 root page.
Page_Tree_Backend.png
Page tree 1 shows correct root line for the “Sub Sub Sub Page”:
- Sub Sub Sub Page 1-1-1-1 (5)
- Sub Sub Page 1-1-1 (4)
- Sub Page 1-1 (3)
- Page Tree 1 (2)
Page_Tree_1_Frontend.png
Page tree 2 has only current page and root page inside rootline. “Sub Sub Page” and “Sub Page” are missing.
- Sub Sub Sub Page 1-1-1-1 (5)
- Page Tree 2 (6)
Page_Tree_2_Frontend.png
Expected root line for Page Tree 2:
- Sub Sub Sub Page 1-1-1-1 (5)
- *Sub Sub Page 1-1-1 (4)*
- *Sub Page 1-1 (3)*
- Page Tree 2 (6)
To quick reproduce the issue, i created the redproduce-example.zip => There is a short readme “REPRODUCE-README.txt” inside. i hope this helps.