[BUGFIX] Failing cascaded delete action of localized elements
Having a record in live workspace with an accordant localization leads to the fact that actions to the default language also have an impact to all localizations. In a workspace, first deleting the localization, then deleting the record of the default language, ends up in actually having reverted the previous deletion of the localization. The solution is to check for delete placeholders in DataHandler::deleteL10nOverlayRecords(). Resolves: #59113 Releases: master, 6.2 Change-Id: I888c83a58d591f57bc2ea75a49fa603a56a7f722 Reviewed-on: http://review.typo3.org/31142 Reviewed-by:Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 8 additions, 0 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/deleteLocalizedContentNDeleteContent.csv 1 addition, 1 deletion...r/Modify/DataSet/deleteLocalizedContentNDeleteContent.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php 0 additions, 1 deletion...ts/Functional/DataHandling/Regular/Publish/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/deleteLocalizedContentNDeleteContent.csv 2 additions, 3 deletions.../Publish/DataSet/deleteLocalizedContentNDeleteContent.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/deleteLocalizedContentNDeleteContent.csv 2 additions, 3 deletions...blishAll/DataSet/deleteLocalizedContentNDeleteContent.csv
Please register or sign in to comment