Review 14.3 Merged

96487[BUGFIX] Hide l10n_mode=exclude fields in translations with hideDiff

Benni Mack CR +2 V +2 Normal +126 −3 updated 10/07/26, 18:44

Commit message

Fields configured with l10n_mode=exclude were only hidden in
translated records when l10n_display was empty. Any other value,
including "hideDiff", kept the field visible and editable, although
DataHandler overwrites its value from the default language record
on save.

Only "defaultAsReadonly" is meant to show an excluded field in a
translation, so FormEngine and the VisibleSchemaFieldsCollector now
check for that option explicitly.

EXT:styleguide gains examples for both combinations, covered by an
e2e test.

Review

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

Issues 1

Files 5

Review log 34

  1. Benni Mack commented on patch set 1 10/07/26, 15:15

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

  3. Benni Mack voted on patch set 1 CR +2 V +2 10/07/26, 18:44

  4. Benni Mack merged patch set 2 10/07/26, 18:44