Issue Bug Resolved

#110070Workspace: deleting inline child via translated parent does not create DELETE_PLACEHOLDER for live record

Amir Arends 06/17/26, 11:50 updated 11/06/26, 22:10

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.

  1. In live, create a content element with at least one inline child in the default language (EN, sys_language_uid=0).
  2. Translate the parent (and its child, connected-mode) into a second language (DE, sys_language_uid=1) in live.
  3. Switch to a workspace.
  4. 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>
  5. 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

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-06T21:35:09+00:00" > 11/06/26, 21:35 </span>

    Applied in changeset commit:527f2202262dc64c64d729fad3b132dc3c580231.

  2. Gerrit Code Review pushed patch set 2 for 14.3 to change 97404 status Resolved Under Review <span data-processor="relativetime" data-value="2026-11-06T21:53:01+00:00" > 11/06/26, 21:53 </span>

  3. Benni Mack commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-11-06T22:10:11+00:00" > 11/06/26, 22:10 </span>

    Applied in changeset commit:a21994ae9578aa72eb0e8a124ba4ba3bc45ee230.