Review main Ready for review

97376[BUGFIX] Do not re-localize references already in the target language

Peter Kraume CR 0 V -1 Normal +150 −3 updated 11/10/26, 06:39

Commit message

When a translated record is copied, its select and group fields with
"localizeReferencesAtParentLocalization" already reference records in
the target language. DataHandler looked for a translation of these
records, found none and localized them again. Every copy therefore
created another translation of the referenced default language record.

References which are already in the target language are now kept.

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 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/76/97376/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/76/97376/2 && git cherry-pick FETCH_HEAD

Review

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

Merge conflicts 23

Issues 1

Files 11

Review log 46

  1. Peter Kraume uploaded patch set 1 11/05/26, 18:28

  2. core-ci voted on patch set 1 V +1 11/05/26, 18:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113420

  3. Oliver Klee voted on patch set 1 V +1 11/05/26, 18:43

  4. Simon Schaufelberger voted on patch set 1 CR +1 V +1 11/06/26, 01:07

  5. Benni Mack uploaded patch set 2 CR +1 V +1 11/10/26, 06:19

  6. core-ci voted on patch set 2 V -1 11/10/26, 06:39 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113834