Bug #92372
openDuplicates when copying a page having moved elements in workspaces
0%
Description
Steps¶
- in live
- having a page
- having three content elements A, B, C on that page
- having page localization of that page
- having all three content elements localized (in connected mode)
- in workspace
- move content element A after B
- copy that page as new sibling on same level
Bugs¶
- localized version of moved record (having move-placeholders in workspace) are duplicated
- → localized version of element A is show twice in backend
- → in the frontend there is just one record rendered, no duplicates
- copied content elements in that page are not reflecting the proper order
- → should be B, A, C
- → actually is A, B, C since order was taken from live workspace, move-placeholders were ignored when copying the page
Tests at https://github.com/TYPO3/TYPO3.CMS/blob/8457e82596fe232b7699fdd660dd18be8bb7c800/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSortingAndCopyDraftPage.csv#L36 (starting in line 36 with uids 335+) unfortunately contain this misbehaviour...
Files
Updated by Oliver Hader over 3 years ago
- Has duplicate Bug #92388: Move pointers are copied when a page is copied in a draft workspace added
Updated by Oliver Hader over 3 years ago
- Has duplicate deleted (Bug #92388: Move pointers are copied when a page is copied in a draft workspace)
Updated by Benni Mack over 3 years ago
Updated by Riccardo De Contardi 3 months ago
- Status changed from New to Needs Feedback
I performed the following test on TYPO3 11.5.34, 12.4.10 and 13.1.0 (latest main)
1. I followed the steps listed on the issue description:
- in live
- having a page
- having three content elements A, B, C on that page
- having page localization of that page
- having all three content elements localized (in connected mode)
- in workspace
- move content element A after B
- copy that page as new sibling on same level
2. I visited the copied page (preview workspace mode)
RESULT¶
Issue #1 is no more reproducible: the Copied page has only B,A,C elements
Issue #2 is no more reproducible: both the default language and translated copied page in the workspace present the Content Elements in the order B,A,C
on both backend and frontend.
Am I missing something or a different test is necessary?
NOTES
1) to copy the page I used "copy" from the pagetree context menu and then "paste after".
2) I had to refresh the page module after moving the CE position to see the new order of the translated elements.