Actions
Bug #89858
closedInline-Records not correctly overlayed with workspaces
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.
Actions