Review 13.4 Merged

89286[BUGFIX] Improve page module for multi-site instances

Oli Bartsch CR +2 V +2 Normal +47 −29 updated 04/30/25, 20:37

Commit message

This patch improves the page module for multi-site instances:

- Keeps the selected language when switching between
  pages within the same site.
- Shows the default language content if no translation exists,
  without preselecting a language in the switcher.
- Resets to the default language when switching to another site
  where the selected language is not available.
- Prevents empty page rendering by falling back to the default
  language in BackendLayoutRenderer when not in "language" mode.
- Does not add -1 in case no translations exist
- Does not persist any broken state

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 2

Files 2

Review log 34

  1. Oli Bartsch commented on patch set 1 04/30/25, 20:13

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 04/30/25, 20:19 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/78410

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 04/30/25, 20:37

  4. Oli Bartsch merged patch set 2 04/30/25, 20:37