#101168Copy elements with IRRE field deletes copied translations
Description
Given:
- system with at least two languages
- install the attached extension
- create a new page and translate into another language
- create a new content element “copy_irre” and attach a child link
- translate the content element into the other language
- change the link label of the translated child link
- copy the content element and paste it anywhere on the site
Expectation:
- a copied content element should be visible
- the label of the translated child should match the original translation
Actual:
- the original link gets synchronized again, the label gets lost
It seems the correct translation is created first but gets deleted again and a new synchronization is created.
The copy & paste steps work correctly if the allowLanguageSynchronization is turned off.
Reviews 1
Related issues 1
Files 3
History 4
-
Oliver Hader commented <span data-processor="relativetime" data-value="2023-06-26T14:08:09+00:00" > 06/26/23, 14:08 </span>
Most probably related to these changes:- https://review.typo3.org/c/Packages/TYPO3.CMS/+/75916/17/typo3/sysext/core/Classes/DataHandling/DataHandler.php
- https://review.typo3.org/c/Packages/TYPO3.CMS/+/75916/17/typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php
-
Oliver Hader changed Related to #98479 <span data-processor="relativetime" data-value="2023-06-26T14:39:02+00:00" > 06/26/23, 14:39 </span>
-
Garvin Hicking commented and changed category <span data-processor="relativetime" data-value="2024-07-31T10:59:19+00:00" > 07/31/24, 10:59 </span>
(I believe I’ve found at least 1 or 2 bug reports like this, could need some digging with “allowLanguageSynchronization” and “copy”, “paste” keywords; for now only adjusting category)
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-11-10T20:49:24+00:00" > 11/10/26, 20:49 </span>I tried to reproduce this on current main with a functional test: a
tt_contentrecord with an inline relation (foreign_field=parentid,foreign_table_field=parenttable,parentidentifier), a translated parent in a second language and a translated child whose label was changed. The site knows the language and the target page is translated. I then copied the default language element with the DataHandlercopycommand, once with and once withoutallowLanguageSynchronizationon the inline field.In all cases the copied translated child keeps its changed label, it is not synchronized back to the default language value. So the described behaviour could not be reproduced.
I did not test with the Mask based extension from the attachment itself, only with the core test fixtures (
test_irre_foreignfield).If this is still valid for you in v14, please open a new issue and provide information how to reproduce it. Thanks!