Issue Bug Under Review Stale

#108361Error when deleting a nested inline element in a workspace

Torben Hansen 11/29/25, 13:36 updated 07/18/26, 09:03

Description

The problem has been observed in to projects from different agencies.

Prerequisits:
  • Custom content element, which allows to create nested content via an inline field (e.g. Accordion with accordion items)
  • Accordion item record, which allow to add various content elements as relation via an inline field

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