#90610Copy-pasting a record that's already translated in "connected" mode, to a different language causing "free" mode, creates duplicate(s) in "connected" translations
Description
Steps to reproduce:
- Have at least three languages.
- Start with an empty page translated to at least three languages.
- Create content record in original language.
- Translate to “Connected” mode for one language.
- Copy (context-menu “copy”) the original language version.
- Click the “paste” icon in a third language.
Expectation:
- One “free mode” copy of the original language record is created in the third language.
- Visually – one content record exists in each of three languages; one in original language, one in “connected” mode language and one in “free” mode language.
Observed incorrect behavior:
- One “free mode” copy of the original language record is created in the third language
- All translated versions of original language record now have a duplicate
- Visually – one content record exists in original language, TWO exist in “connected” mode language, one exists in “free” mode language.
Cause:
- TYPO3 perceives the “paste” operation to a different language the same as had the record been pasted in original language.
- TYPO3 therefore attempts to synchronise localized versions of the copy when it should be disconnected; exists in a different language that is NOT the source of localisation.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Copy-pasting a record that's already translated in "connected" mode, to a different language causing "free" mode, creates duplicate(s) in "connected" translations Resolves: #90610 Releases: main
Related issues 4
- Story #101561DataHandler related translation issues
- Bug #102345Copy/Move pages with existing translation into another site with different language setup results in orphaned problematic page translation records
- Bug #104010Copy & Paste creates invisible translations
- Feature #110411Hide in default - for content elements
History 9
-
Christian Eßl commented <span data-processor="relativetime" data-value="2020-03-11T08:33:52+00:00" > 03/11/20, 08:33 </span>
Same problem with “mixed mode” columns.
From what I see, this behaviour is present in TYPO3 8, 9 and 10 and older.
I even tried the same copy/paste procedure to a translation column in an old 6.2 instance, and the record was copied to all present languages. -
Jonas Eberle changed category <span data-processor="relativetime" data-value="2020-12-05T10:18:46+00:00" > 12/05/20, 10:18 </span>
-
Astrid Haubold changed Related to #101561 <span data-processor="relativetime" data-value="2023-11-01T18:16:58+00:00" > 11/01/23, 18:16 </span>
-
Lukas Fürderer changed Related to #104010 <span data-processor="relativetime" data-value="2024-06-10T09:37:33+00:00" > 06/10/24, 09:37 </span>
-
Riccardo De Contardi changed Related to #102345 <span data-processor="relativetime" data-value="2024-06-10T09:40:14+00:00" > 06/10/24, 09:40 </span>
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2025-04-02T10:50:31+00:00" > 04/02/25, 10:50 </span>
I tested this issue on latest main (14.0.0-dev) with the procedure written on the issue description
Steps to reproduce:
- Have at least three languages.
- Start with an empty page translated to at least three languages.
- Create content record in original language.
- Translate to “Connected” mode for one language.
- Copy (context-menu “copy”) the original language version.
- Click the “paste” icon in a third language.
On my setup:
- original language: Italian
(id=0) - 2nd language (the “connected mode” target): English
(id=1) - 3rd language (the “paste” target): French
(id=2)
Results
1. English: the translated CE is still present and the only one present
2. French: TWO Content Elements have been created- one content element has
[sys_language_uid] = french [2]and[l18n_parent] = [ MISSING LABEL ("914") ] [914]where 914 is the id of the other content element created in French (!)
- the other content element has
[sys_language_uid] = french [2]and[l18n_parent] = [0]– in page view it is marked in yellow with"No translation parent assigned"
- now the “French” page is marked as “Mixed mode”
-
Andreas Kießling commented <span data-processor="relativetime" data-value="2026-08-10T14:14:53+00:00" > 08/10/26, 14:14 </span>
Seems to be still buggy in 14.3
I copied a default element with a translation in language 2 to language 1 —> now i have two elements in language 1, only one is visible, the other one references the first copy as l18n_parent and l10n_source —> language 1 is now shown as mixed mode and you can not see the second copy in the layout or records module.
IMHO pasting to a language > 0 must not copy any of the translations -
Georg Ringer changed Related to #110411 <span data-processor="relativetime" data-value="2026-08-25T16:31:33+00:00" > 08/25/26, 16:31 </span>
Possible solution could be to somehow pass $ignoreLocalization = true to \TYPO3\CMS\Core\DataHandling\DataHandler::copyRecord when pasting to a different language – however, this does not appear to be supported through the way the “paste” icon and corresponding JS action is currently implemented.
The source of the problem seems to be that that \TYPO3\CMS\Core\DataHandling\DataHandler::copyL10nOverlayRecords is called which is called whenever $ignoreLocalization is false or $language is zero. when calling \TYPO3\CMS\Core\DataHandling\DataHandler::copyRecord. Perhaps most appropriately solved by passing the right $language to \TYPO3\CMS\Core\DataHandling\DataHandler::copyRecord when pasting a record to a different language.