#111040Inline children are localized twice when syncing several translations at once
Description
When a record with allowLanguageSynchronization on an inline/file field has translations in more than one language and the children are synced in one DataHandler run (e.g. saving the default-language record), the child just created for the first language still points to the default-language parent until DataHandler updates the links at the end of the run. The sync for the next language then treats it as a default-language child and localizes it again, so the translation gets an extra child whose l10n_parent points to the other language’s child.
Steps: page with media reference in language 0, translations in language 1 and 2 without references, modify the default page → language 2 gets two references, one localized from the language-1 reference.
Reviews 2
History 15
-
Gerrit Code Review pushed patch set 27 for main to change 62192 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-13T14:24:39+00:00" > 10/13/26, 14:24 </span> -
Gerrit Code Review pushed patch set 28 for main to change 62192 <span data-processor="relativetime" data-value="2026-10-25T11:53:32+00:00" > 10/25/26, 11:53 </span>
-
Gerrit Code Review pushed patch set 29 for main to change 62192 <span data-processor="relativetime" data-value="2026-10-25T11:56:18+00:00" > 10/25/26, 11:56 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97160 <span data-processor="relativetime" data-value="2026-10-25T19:23:22+00:00" > 10/25/26, 19:23 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-25T19:30:18+00:00" > 10/25/26, 19:30 </span>
Applied in changeset commit:e2c4b58bdbf38526c55b62943699766f1eba5616.