Review 14.3 Merged

97160[BUGFIX] Prevent localizing already translated inline children again

Benni Mack CR +2 V +2 Normal +135 −4 updated 10/26/26, 06:18

Commit message

When inline or file children are synchronized into translations, the
children of the language parent are read from the database. A child
that has just been localized still points to the default language
parent until DataHandler remaps it to its translated parent at the end
of the process. Reading the children of the language parent in the
meantime returns this translated child as well, and it gets localized
once more, with its l10n_parent pointing to the translation of
another language.

This happens when several translations are synchronized within one
DataHandler run, for example when saving the default language record
or copying a page together with its translations, and when records
are localized into different languages in concurrent requests.

Children translated into a language other than the one of their
parent record are now skipped. Concurrent localizations into the
same language are not prevented by this change.

Review

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

Issues 3

Files 7

Review log 34

  1. Benni Mack commented on patch set 1 10/25/26, 19:23

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

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

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