#111070Copy of new monoglot inline child has no origUid in translation
Description
A translatable parent record has an inline relation (foreign_field) to a child table without language configuration (“monoglot” children, origUid set). With l10n_mode = exclude on the inline field, DataMapProcessor gives every translation of the parent its own copy of each child, and finds these copies again through origUid.
When a new child is added to the default record in the same request (NEW… id), the translation’s copy is created without origUid.
Reproduction
Same TCA as in #<ticket>. Hotel 1 [en] with offers 1 and 2, its German translation owns the copies. Add a new offer to the default hotel:</ticket>
$dataHandler->start([
'tx_testirreforeignfield_offer' => ['NEW1' => ['pid' => 1, 'title' => 'Airport shuttle']],
'tx_testirreforeignfield_hotel' => [1 => ['offers' => '1,2,NEW1']],
], []);
$dataHandler->process_datamap();
Expected
The German copy of “Airport shuttle” has t3_origuid = uid of the new default offer, like the copies of the other offers.
Actual
t3_origuid = 0.
Cause
New children still in the data map are duplicated directly in the data map ($populateAncestorIds in DataMapProcessor::synchronizeReferences()) instead of through the copy command, which would set origUid. Later synchronizations can therefore not find the copy, since fetchDependentIdMap() looks up copies of monoglot tables by origUid only.
Reviews 2
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 96697 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-14T18:29:34+00:00" > 10/14/26, 18:29 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96697 <span data-processor="relativetime" data-value="2026-10-14T20:13:16+00:00" > 10/14/26, 20:13 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96814 <span data-processor="relativetime" data-value="2026-10-18T12:42:11+00:00" > 10/18/26, 12:42 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-18T12:45:17+00:00" > 10/18/26, 12:45 </span> -
Gerrit Code Review pushed patch set 2 for 14.3 to change 96814 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-10-18T14:21:41+00:00" > 10/18/26, 14:21 </span> -
Anonymous commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-10-19T20:30:17+00:00" > 10/19/26, 20:30 </span>Applied in changeset commit:5714ef5b534436bb648f69eedb71a593643f48c4.
Applied in changeset commit:db9af91bd2b51e05e3d0d6c03f80a0b4a5fb576d.