#110070Workspace: deleting inline child via translated parent does not create DELETE_PLACEHOLDER for live record
Description
When editing a translated (e.g. German) parent record in a workspace and removing an inline (IRRE) child, TYPO3 discards (physically removes) the auto-created connected-mode workspace child but never writes a t3ver_state = 2 (DELETE_PLACEHOLDER) row for the live translated child.
On publish, the live translated child therefore re-appears and is not deleted, while the user clearly removed it in the workspace.
Steps to reproduce
Example uses a tt_content CType with an inline field tx_test_items pointing at a workspace-aware, language-aware child table.
- In live, create a content element with at least one inline child in the default language (EN, sys_language_uid=0).
- Translate the parent (and its child, connected-mode) into a second language (DE, sys_language_uid=1) in live.
- Switch to a workspace.
- Open the EN parent, edit anything trivial in the inline child, save. TYPO3 creates workspace versions for the EN parent + EN child, and — connected mode — also auto-creates workspace shadows of the DE child (t3ver_oid = <de_live_uid>, t3ver_state = 0).</de_live_uid>
- Open the DE parent in the same workspace and remove the inline child (the connected-mode auto-shadow) via FormEngine. Save.
Expected
A row pointing at the DE live child uid is set to t3ver_state = 2 (DELETE_PLACEHOLDER) in the workspace, so publishing this workspace deletes the DE live row alongside the EN side.
Actual
The workspace shadow (row 600) is discarded (physically removed via DataHandler::discard()) and the engine returns. No t3ver_state = 2 row is created. On publish, the DE live child (row 200) is still present.
DB state after step 4: ┌───────────────┬─────┬───────────┬─────────────┬────────────┬─────────────┐ │ Record │ uid │ t3ver_oid │ t3ver_state │ t3ver_wsid │ l10n_parent │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ EN live child │ 100 │ 0 │ 0 │ 0 │ 0 │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ DE live child │ 200 │ 0 │ 0 │ 0 │ 100 │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ EN WS overlay │ 500 │ 100 │ 0 │ 1 │ 0 │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ DE WS shadow │ 600 │ 200 │ 0 │ 1 │ 500 │ └───────────────┴─────┴───────────┴─────────────┴────────────┴─────────────┘ After step 5: ┌───────────────┬─────┬───────────┬─────────────┬────────────┬─────────────┐ │ Record │ uid │ t3ver_oid │ t3ver_state │ t3ver_wsid │ l10n_parent │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ EN live child │ 100 │ 0 │ 0 │ 0 │ 0 │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ DE live child │ 200 │ 0 │ 0 │ 0 │ 100 │ ├───────────────┼─────┼───────────┼─────────────┼────────────┼─────────────┤ │ EN WS overlay │ 500 │ 100 │ 0 │ 1 │ 0 │ └───────────────┴─────┴───────────┴─────────────┴────────────┴─────────────┘ After step 6: row 600 is gone. Row 200 unchanged, no t3ver_state = 2 row referencing it.
Affected versions
Confirmed in 13.4.32. The same code paths exist in 14.3.4.
Reviews 2
History 28
-
Gerrit Code Review pushed patch set 1 for main to change 96742 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-15T22:01:09+00:00" > 10/15/26, 22:01 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96742 <span data-processor="relativetime" data-value="2026-10-15T22:06:04+00:00" > 10/15/26, 22:06 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96742 <span data-processor="relativetime" data-value="2026-10-15T22:56:00+00:00" > 10/15/26, 22:56 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96742 <span data-processor="relativetime" data-value="2026-10-24T10:47:41+00:00" > 10/24/26, 10:47 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97404 <span data-processor="relativetime" data-value="2026-11-06T21:31:04+00:00" > 11/06/26, 21:31 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-06T21:35:09+00:00" > 11/06/26, 21:35 </span> -
Gerrit Code Review pushed patch set 2 for 14.3 to change 97404 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-11-06T21:53:01+00:00" > 11/06/26, 21:53 </span> -
Benni Mack commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-11-06T22:10:11+00:00" > 11/06/26, 22:10 </span>Applied in changeset commit:a21994ae9578aa72eb0e8a124ba4ba3bc45ee230.
Applied in changeset commit:527f2202262dc64c64d729fad3b132dc3c580231.