Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet

94879[BUGFIX] Reference translated records when localizing relations

Benni Mack CR -2 V 0 Hard +306 −15 updated 10/16/26, 10:33

Commit message

When a record is localized via DataHandler, values of select and group
fields without an intermediate MM table now reference an already
existing translation of the related record in the target language,
instead of keeping the reference to the default language record. The
lookup is workspace-aware. If no translation exists, the default
language record is kept, as before.

The TCA option "localizeReferencesAtParentLocalization" keeps its
additional behavior of localizing referenced records that do not have
a translation yet.

The language system fields of a table (transOrigPointerField and
translationSource) are excluded from the remapping: They are defined
as select fields pointing to the own table, but carry language
relation semantics and must never be touched here.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/79/94879/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/79/94879/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR -2 Blocked
    • Benni Mack -2
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 13

Review log 34

  1. Benni Mack uploaded patch set 1 07/22/26, 10:16

  2. core-ci voted on patch set 1 V +1 07/22/26, 10:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/105156

  3. Benni Mack wrote 10/15/26, 22:32

    Topic set to DataHandler
  4. Benni Mack commented on patch set 1 CR -2 10/16/26, 10:33

    we need to decide if we really want this behavior (see the RST) and if Extbase should follow the same way.