Review main Merged

97222[TASK] Require language 0 in site configurations

Oli Bartsch CR +2 V +2 Hard +298 −7 updated 11/14/26, 09:59

Commit message

TYPO3 expects every site to configure language 0 as its default
language. Sites without it still render in the frontend, as
Site::getDefaultLanguage() falls back to the first configured
language, but nothing tells integrators about the problem.

The Sites module now shows an error for such sites in the overview
and the site details, and refuses to save a site configuration
without language 0. A refused save shows the form of the stored site
again, or the creation form for a new site, instead of failing with
an exception about a site that does not exist.

The command site:validate reports sites without language 0 as an
error of the configuration option "languages".

Review

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

Issues 3

Files 9

Review log 711

  1. Oli Bartsch uploaded patch set 1 10/29/26, 22:37

  2. core-ci voted on patch set 1 V +1 10/29/26, 22:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112815

  3. Oli Bartsch uploaded patch set 2 V +1 10/30/26, 14:53

  4. core-ci voted on patch set 2 V +1 10/30/26, 15:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112886

  5. Oli Bartsch rebased onto patch set 3 V +1 11/01/26, 15:45

  6. core-ci voted on patch set 3 V +1 11/01/26, 15:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113026

  7. Oli Bartsch rebased onto patch set 4 V +1 11/11/26, 09:58

  8. core-ci voted on patch set 4 V +1 11/11/26, 10:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114036

  9. Benni Mack voted on patch set 4 CR +1 V +1 11/12/26, 16:13

  10. Oli Bartsch voted on patch set 4 CR +2 V +2 11/14/26, 09:59

  11. Oli Bartsch merged patch set 5 11/14/26, 09:59