Review main Merged

96744[BUGFIX] Skip translations detached in the same data map

Benni Mack CR +2 V +2 Normal +191 −0 updated 11/07/26, 18:58

Commit message

When a default language record is saved, DataMapProcessor
synchronizes its values to the dependent translations found in the
database. If such a translation is part of the same data map, the
submitted version is used instead. In case the data map turns that
record into a default language record (or points it to another
parent or source), it is no longer a dependent translation and has
no localization state, which caused a fatal error:

  Call to a member function filterFieldNames() on null

This happens for example when updating records with an import that
uses the uid of an existing translation for a default language page.

Such detached records are now skipped during synchronization.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Wouter Wolters +1
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Oliver Klee +1
    • Wouter Wolters +1
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 1

Files 6

Review log 89

  1. Benni Mack uploaded patch set 1 10/15/26, 22:34

  2. Benni Mack wrote 10/15/26, 22:35

    Topic set to DataHandler
  3. core-ci voted on patch set 1 V +1 10/15/26, 22:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111293

  4. Benni Mack marked it ready for review 10/24/26, 07:27

  5. Oliver Klee voted on patch set 1 V +1 10/24/26, 09:10

  6. Wouter Wolters voted on patch set 1 CR +1 V +1 10/25/26, 08:41

  7. Simon Schaufelberger voted on patch set 1 CR +1 V +1 11/06/26, 00:48

  8. Georg Ringer voted on patch set 1 CR +2 V +2 11/07/26, 18:29

  9. Georg Ringer merged patch set 2 11/07/26, 18:58