#111219Adjust ExcludedFromTranslationWriteDefaultRecordTest to origUid enforcement
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.csvwith comment 3 marked as deleted and use it in the core test. - Update the docblock of the test.
- Keep
CommentRemoved.csvfor the Extbase counterpart, whose behaviour is unchanged.
Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for main to change 97090 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-23T20:13:40+00:00" > 10/23/26, 20:13 </span> -
Georg Ringer commented and changed status
Under ReviewResolved done0 %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.