#84998sys_language uid isn't updated when parent records sys_languge_uid changes
Description
When you have a CE (tt_content) with some images created in the not default language and you change the sys_language_uid the relation handling + BE forms break.
When you translate the CE again opening the BE form of the CE will create new sys_language_uid records so you will see multiple file references appearing. Saving the CE will give an error:
ERROR Error handler Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1486233164: Child record was not processed | RuntimeException thrown in file vendor/typo3/cms/typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php in line 631.
Situation before sys_language_uid change:
tt_content.sys_language_uid = 10 sys_file_reference.uid = 1111 sys_file_reference.sys_language_uid = 10 sys_file_reference.l10n_parent = 0
After change of sys_language_uid:
tt_content.sys_language_uid = 0 sys_file_reference.uid = 1111 sys_file_reference.sys_language_uid = 10 sys_file_reference.l10n_parent = 0
Expected:
tt_content.sys_language_uid = 0 sys_file_reference.uid = 1111 sys_file_reference.sys_language_uid = 0 sys_file_reference.l10n_parent = 0
Note for others who run into this issue, after you changed the sys_language_uid to 0 and create translation you will see records appearing like:
sys_file_reference.sys_language_uid = 10 sys_file_reference.l10n_parent = 0
But this should be
sys_file_reference.uid = 1111 sys_file_reference.sys_language_uid = 0 sys_file_reference.l10n_parent = 0 sys_file_reference.sys_language_uid = 10 sys_file_reference.l10n_parent = 1111
Due to the fact that sys_file_reference.sys_language_uid isn’t correctly set to 0 for the CE in the default language the l10n_parent value for the translated CE’s/file references is not correctly set.
Reviews 2
Related issues 3
- Bug #84618Not possible to translate a record when allowLanguageSynchronization is set for relation field like 'image' in tt_content
- Bug #110497TCEFORM sys_language_uid.disabled = 1 doesn't write correct defaults into translated entries breaking loading of IRRE for child elements
- Bug #110498sys_file_reference value of sys_language_uid is assigned with a value of 0 in a translated model if the referenced sys_file has been used by a base language object
History 713
-
Frans Saris changed Related to #84618 <span data-processor="relativetime" data-value="2018-05-14T11:59:16+00:00" > 05/14/18, 11:59 </span>
-
Frans Saris changed description <span data-processor="relativetime" data-value="2018-05-14T11:59:46+00:00" > 05/14/18, 11:59 </span>
-
Mathias Schreiber commented <span data-processor="relativetime" data-value="2018-05-14T12:17:55+00:00" > 05/14/18, 12:17 </span>
-
Helmut Hummel commented <span data-processor="relativetime" data-value="2018-05-14T16:43:10+00:00" > 05/14/18, 16:43 </span>
Mathias Schreiber wrote:
> Changing languages just with the dropdown shouldn’t be possible in the first place.
> So the select box needs replacement with something that triggers a fullblown wizard.I agree. Quick fix: hide the selector and let users copy the element into a different language instead (through page module wizard)
-
Gerrit Code Review pushed patch set 13 for main to change 87595 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-13T20:00:53+00:00" > 10/13/26, 20:00 </span> -
Gerrit Code Review pushed patch set 14 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-14T08:21:18+00:00" > 10/14/26, 08:21 </span>
-
Gerrit Code Review pushed patch set 15 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-15T22:25:58+00:00" > 10/15/26, 22:25 </span>
-
Gerrit Code Review pushed patch set 16 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-15T22:28:36+00:00" > 10/15/26, 22:28 </span>
-
Gerrit Code Review pushed patch set 17 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-16T17:08:48+00:00" > 10/16/26, 17:08 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96783 <span data-processor="relativetime" data-value="2026-10-17T12:29:00+00:00" > 10/17/26, 12:29 </span>
-
Sybille Peters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-17T12:35:14+00:00" > 10/17/26, 12:35 </span>Applied in changeset commit:c4c5e37ff8f8d7ef215a16228c47006ad844a346.
-
Benni Mack changed Related to #110498 <span data-processor="relativetime" data-value="2026-10-23T05:12:22+00:00" > 10/23/26, 05:12 </span>
-
Benni Mack changed Related to #110497 <span data-processor="relativetime" data-value="2026-10-23T05:12:51+00:00" > 10/23/26, 05:12 </span>
Changing languages just with the dropdown shouldn’t be possible in the first place.
So the select box needs replacement with something that triggers a fullblown wizard.