[BUGFIX] Fix copying of moved records in workspace
When a moved content is copied onto another page, the sorting is off due to not respecting move placeholders. This is due to a limitation in PlainDataResolver which cannot handle both liveIds and move placeholder IDs at the same time. For this to work, only the move placeholders are added, and the respective live ids are kept. The tests show that the previous behavior is wrong, as the ordering should be - Regular Element 2 - Regular Element 1 - Regular Element 3 on the newly created draft page 91. Resolves: #92416 Releases: master, 10.4 Change-Id: I979a183d80517ab579b3889dfb672c16e396b551 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65849 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Claus-Peter Eberwein <claus-peter.eberwein@b13.com> Tested-by:
David Steeb <david.steeb@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Claus-Peter Eberwein <claus-peter.eberwein@b13.com> Reviewed-by:
David Steeb <david.steeb@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 30 additions, 4 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSortingAndCopyDraftPage.csv 10 additions, 11 deletions...r/Modify/DataSet/changeContentSortingAndCopyDraftPage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/changeContentSortingAndCopyDraftPage.csv 10 additions, 11 deletions.../Publish/DataSet/changeContentSortingAndCopyDraftPage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/changeContentSortingAndCopyDraftPage.csv 6 additions, 7 deletions...blishAll/DataSet/changeContentSortingAndCopyDraftPage.csv
Please register or sign in to comment