Issue Task Resolved

#111376Use page ancestry for TypoScript rootlines in the backend

Benni Mack 11/09/26, 12:02 updated 11/10/26, 18:10

Description

The backend TypoScript modules (Active TypoScript, Constant Editor, Template Analyzer) and the TypoScript code completion of the code editor resolve the rootline of a page with the frontend RootlineUtility. It applies language overlays and resolves relation fields for every page, and its rootline is not shared with the page ancestry the backend already resolved for the same request. The TypoScript module controllers carry a @todo to switch to the backend rootline with workspace overlay.

These callers now use the PageAncestryResolver (see #111307), which resolves the ancestry with one cached query in the workspace of the backend user. PageAncestry::toLegacyRootLine() can return the rootline without the virtual tree root, in the structure of RootlineUtility::get() as expected by TypoScript.

Reviews 1

History 12

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-10T18:10:17+00:00" > 11/10/26, 18:10 </span>

    Applied in changeset commit:235b3f4d053b31b7e7fe52a341a7a30e03a865b8.