Issue Bug Closed

#106375Incomplete Rootline in Mountpoint Sub Page

Steffen Mächtel 03/17/25, 16:53 updated 12/02/25, 14:22

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.

Reviews 2

Files 5

History 916

  1. Georg Ringer commented and changed status New Accepted <span data-processor="relativetime" data-value="2025-03-17T18:35:56+00:00" > 03/17/25, 18:35 </span>

    thanks, confirmed. broken since #104506

  2. Gerrit Code Review pushed patch set 1 for main to change 89287 status Accepted Under Review <span data-processor="relativetime" data-value="2025-05-02T10:17:07+00:00" > 05/02/25, 10:17 </span>

  3. Stefan Bürk commented <span data-processor="relativetime" data-value="2025-05-02T10:20:11+00:00" > 05/02/25, 10:20 </span>

    I had a hard time to get the attached ddev based example packge working,
    missed a casual “setup” step – or the settings.php. However, I could look
    into the example and was able to create functional tests showing that this
    scenario worked in TYPO3 v12 (narrowed down to RootlineUtility) and broken
    in 13.4-dev/main.

  4. Stefan Bürk commented <span data-processor="relativetime" data-value="2025-05-02T11:53:00+00:00" > 05/02/25, 11:53 </span>

    @steffenmaechtel do you have the posibility to test the pending patch
    on gerrit as composer patch if it works for you now ?

    https://review.typo3.org/c/Packages/TYPO3.CMS/+/89287

  5. Stefan Bürk commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-05-05T07:55:09+00:00" > 05/05/25, 07:55 </span>

    Applied in changeset commit:a789a832b1e916a02f5effe8088a595494f5f099.

  6. Steffen Mächtel commented and changed attached clipboard-202505051449-lec5j.png <span data-processor="relativetime" data-value="2025-05-05T12:50:56+00:00" > 05/05/25, 12:50 </span>

    @stefan.buerk

    Tested: Patch works for me. Now mountpoint page tree have full rootline.

    clipboard-202505051449-lec5j.png