Review main Merged

97065[BUGFIX] Pass page TSconfig defaults in language access check

Benni Mack CR +2 V +2 Easy +6 −1 updated 10/23/26, 10:24

Commit message

Since #107327, DataHandler::applyDefaultsForFieldArray() expects the
TCAdefaults of page TSconfig instead of a page id. The access check
added with #110869 still passed the page id, so creating a record of
a language-aware table without a language value on a page outside
any site failed with a TypeError.

The access check now resolves the page TSconfig defaults of the page,
like the other caller.

Review

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

Issues 3

Files 1

Review log 34

  1. Benni Mack uploaded patch set 1 10/23/26, 09:40

  2. core-ci voted on patch set 1 V +1 10/23/26, 09:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112257

  3. Benni Mack voted on patch set 1 CR +2 V +2 10/23/26, 10:24

  4. Benni Mack merged patch set 2 10/23/26, 10:24