Issue Bug Resolved

#111219Adjust ExcludedFromTranslationWriteDefaultRecordTest to origUid enforcement

Georg Ringer 10/23/26, 20:12 updated 10/23/26, 20:30

Description

Since #88452 (8decfe674a7) TcaPreparation sets origUid for non-translatable child tables that are synchronized from a language-aware parent.

ExcludedFromTranslationWriteDefaultRecordTest::commentRemovedFromTheDefaultRecordStaysInTheTranslationByCore still expects the old behaviour and fails on main:

Assertion in data-set failed for "tx_blogexample_domain_model_comment:3":
Fields |Assertion|Record
deleted|0        |1

DataHandler now finds the copy of the German translation (comment 3, t3_origuid=1) via its origUid and deletes it together with the default comment. This is the intended result of #88452.

Proposed change

  • Add the fixture CommentRemovedByCore.csv with comment 3 marked as deleted and use it in the core test.
  • Update the docblock of the test.
  • Keep CommentRemoved.csv for the Extbase counterpart, whose behaviour is unchanged.

Reviews 1

History 12

  1. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-10-23T20:30:17+00:00" > 10/23/26, 20:30 </span>

    Applied in changeset commit:7dd4b6543d3f949a62c0ca3fab35a75976183dc7.