Project

General

Profile

Actions

Bug #89858

closed

Inline-Records not correctly overlayed with workspaces

Added by Philipp Seiler almost 5 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2019-12-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
inline,irre,record,relation,hidden,sorting
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #95328: Sorting inline elements in workspace does not work for preview New2021-09-23

Actions
Related to TYPO3 Core - Bug #97548: In workspaces translated inline element items are shown twiceClosed2022-05-04

Actions
Actions

Also available in: Atom PDF