Issue Bug Resolved

#111070Copy of new monoglot inline child has no origUid in translation

Alexander Schnitzler 10/14/26, 17:49 updated 10/19/26, 20:30

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

  1. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-18T12:45:17+00:00" > 10/18/26, 12:45 </span>

    Applied in changeset commit:db9af91bd2b51e05e3d0d6c03f80a0b4a5fb576d.

  2. Gerrit Code Review pushed patch set 2 for 14.3 to change 96814 status Resolved Under Review <span data-processor="relativetime" data-value="2026-10-18T14:21:41+00:00" > 10/18/26, 14:21 </span>

  3. Anonymous commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-10-19T20:30:17+00:00" > 10/19/26, 20:30 </span>

    Applied in changeset commit:5714ef5b534436bb648f69eedb71a593643f48c4.