Review 14.3 Merged

97017[BUGFIX] Check new records with their default language

Benni Mack CR +2 V +2 Normal +120 −1 updated 10/22/26, 16:28

Commit message

FormEngine no longer submits a language field that offers only one
language (#109366). For a new record, DataHandler then adds the first
language the editor may use from the site of the page. On a page
outside any site, e.g. a storage folder, there is no site, the field
stays unset until the defaults are applied, and the access check runs
before that. Non-admin editors got "The languageField ... was not
found in testing record", e.g. for new file references.

The access check now gets the language the record will be stored
with: the configured default (TCAdefaults or TCA) or, without one, the
database default 0. The stored record does not change, and editors
without access to that language are still rejected.

Review

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

Issues 2

Files 3

Review log 34

  1. Benni Mack commented on patch set 1 10/22/26, 16:05

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/22/26, 16:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112145

  3. Benni Mack voted on patch set 1 CR +2 V +2 10/22/26, 16:28

  4. Benni Mack merged patch set 2 10/22/26, 16:28