#108361Error when deleting a nested inline element in a workspace
Description
The problem has been observed in to projects from different agencies.
Prerequisits:- Custom content element, which allows to create nested content via an
inlinefield (e.g. Accordion with accordion items) - Accordion item record, which allow to add various content elements as relation via an
inlinefield
Basically, this is: tt_content.inline_field ➡️ custom_table.inline_field ➡️ tt_content records
The attached patch for ext:styleguide shows the TCA of the custom content element. It is required to reproduce the problem with current main.
How to reproduce:- In live workspace, create a content element of CType
styleguide_accordion - While editing the content element, add one “Accordion Items” inline record
- For the new inline record, add 3 content element (e.g. CType header)
- Save the content element
- Switch to a workspace
- Edit the content element
- Delete one of the created CType header elements
- Save the content element
Behavior in TYPO3 13.4
- Two error messages are shown, stating that a delete placeholder can not be edited and that the edit form could not be loaded
Behavior in TYPO3 14.0
- PHP undefined array index exception is thrown for
EditDocumentController::createBreadcrumb() - Two error messages are shown, stating that a delete placeholder can not be edited and that the edit form could not be loaded (is shown, when undefined array index bug is fixed).
Bildschirmfoto%202025-11-29%20um%2013.06.32.png
The reason for the two error messages is, that EditDocumentController::processData() evaluates the redirect URL GET parameters wrong (R_URL_getvars), because the function does not respect the visible state of the deleted element from a workspaces perspective (t3ver_state === -2).
Reviews 1
History 19
-
Gerrit Code Review pushed patch set 1 for main to change 91937 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-29T14:07:02+00:00" > 11/29/25, 14:07 </span> -
Gerrit Code Review pushed patch set 2 for main to change 91937 <span data-processor="relativetime" data-value="2025-11-29T14:27:08+00:00" > 11/29/25, 14:27 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 91937 <span data-processor="relativetime" data-value="2025-11-29T15:18:55+00:00" > 11/29/25, 15:18 </span>
-
Torben Hansen changed description <span data-processor="relativetime" data-value="2025-11-29T15:32:10+00:00" > 11/29/25, 15:32 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 91937 <span data-processor="relativetime" data-value="2025-11-30T05:13:29+00:00" > 11/30/25, 05:13 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 91937 <span data-processor="relativetime" data-value="2025-12-08T23:23:14+00:00" > 12/08/25, 23:23 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 91937 <span data-processor="relativetime" data-value="2026-02-14T11:01:31+00:00" > 02/14/26, 11:01 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 91937 <span data-processor="relativetime" data-value="2026-04-22T06:43:16+00:00" > 04/22/26, 06:43 </span>
-
Gerrit Code Review pushed patch set 8 for main to change 91937 <span data-processor="relativetime" data-value="2026-07-18T09:03:14+00:00" > 07/18/26, 09:03 </span>