Issue Bug Closed

#89858Inline-Records not correctly overlayed with workspaces

Philipp Seiler 12/05/19, 13:32 updated 07/09/24, 12:00

Description

  • Create some content element which contains inline records (type = inline, foreign_table, …).
  • Add inline records in the live-non-workspaced version.
  • Switch to a workspace.
  • Edit the just created content element and hide some previously created inline records.
  • Save the content element. After reload, the elements are still shown ans “active” in the backend, which is of course incorrect. The frontend preview-output is correct however.

Reason seems to be, that in the class \TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline the records are fetched without overlaying them with the workspace. The class \TYPO3\CMS\Backend\Form\Container\InlineControlContainer simply outputs the state of the non versioned records. The versioned records (pid = -1) however do contain the correct hidden-state.

Same behaviour goes for sorting inline records in the workspace. If sorting is changed in the workspace and then published to live, the sorting is lost again.

Reviews 2