Review 13.4 Merged

93560[BUGFIX] Respect Site::isTypoScriptRoot() in BackendConfigurationManager

Sebastian Michaelsen CR +2 V +2 Normal +57 −1 updated 04/08/26, 06:54

Commit message

When a site has `isTypoScriptRoot() === true`, the frontend's
`PageInformationFactory` truncates the rootline to the site root
page before passing it to `SysTemplateRepository`. This ensures
`sys_template` records from parent sites are not included.

`BackendConfigurationManager::getTypoScriptSetup()` passed the full
global rootline to `SysTemplateRepository` unconditionally, picking
up sys_template records outside the current site scope. Apply the
same truncation logic as the frontend when `isTypoScriptRoot()` is
true. The full rootline is still used for expression matcher
variables.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 34

  1. Sebastian Michaelsen uploaded patch set 1 04/08/26, 05:11

  2. core-ci voted on patch set 1 V +1 04/08/26, 05:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99732

  3. Georg Ringer voted on patch set 1 CR +2 V +2 04/08/26, 06:54

  4. Georg Ringer merged patch set 2 04/08/26, 06:54