Review main Ready for review Stale

95556[BUGFIX] Use resolved page layout for PAGEVIEW template

Stefan Bürk CR +1 V +1 Normal +122 −4 updated 09/16/26, 19:28

Commit message

PAGEVIEW determined the Fluid template from the backend
layout identifier by asking PageLayoutResolver a second
time, while the content areas it assigns come from the page
layout already resolved for the request.

Both resolutions can disagree. A backend layout data
provider decides which layout an identifier resolves to and
may return a layout with a different identifier, so the
rendered template and the content areas belonged to two
different layouts.

Use the identifier of the resolved page layout for the
template name and keep the previous resolution as a
fallback for pages without a resolvable page layout.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 3
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/56/95556/3 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/56/95556/3 && git cherry-pick FETCH_HEAD

Review

  • Code review CR +1 Needs a vote
    • Wouter Wolters +1
    • Benni Mack +1
    • Simon Schaufelberger +1
  • Verified V +1 Needs a vote
    • Oliver Klee +1
    • Wouter Wolters +1
    • Benni Mack +1
    • Simon Schaufelberger +1
    • core-ci +1 CI

Relation chain 2

  1. 95556 [BUGFIX] Use resolved page layout for PAGEVIEW template This change

  2. main 95555[BUGFIX] Avoid PHP error on unresolvable page layout This change is based on it Merged Stefan Bürk CR +2 V +2 → 14.3, 13.4 Easy +28 −1

Merge conflicts 18

Issues 2

Files 9

Review log 710

  1. Stefan Bürk uploaded patch set 1 09/02/26, 10:49

  2. core-ci voted on patch set 1 V +1 09/02/26, 11:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107601

  3. Stefan Bürk rebased onto patch set 2 V +1 09/02/26, 11:21

  4. core-ci voted on patch set 2 V +1 09/02/26, 11:30 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107610

  5. Stefan Bürk rebased onto patch set 3 V +1 09/03/26, 09:20

  6. core-ci voted on patch set 3 V +1 09/03/26, 09:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107733

  7. Oliver Klee voted on patch set 3 V +1 09/03/26, 09:50

  8. Simon Schaufelberger voted on patch set 3 CR +1 V +1 09/08/26, 15:26

  9. Benni Mack voted on patch set 3 CR +1 V +1 09/14/26, 08:48

  10. Wouter Wolters voted on patch set 3 CR +1 V +1 09/16/26, 19:28