Issue Bug Resolved

#111040Inline children are localized twice when syncing several translations at once

Benni Mack 10/13/26, 13:46 updated 10/25/26, 19:30

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

  1. Gerrit Code Review pushed patch set 27 for main to change 62192 status New Under Review <span data-processor="relativetime" data-value="2026-10-13T14:24:39+00:00" > 10/13/26, 14:24 </span>

  2. Anonymous commented and changed status Under Review Resolved done 0 % 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.