Issue Bug Closed

#92372Duplicates when copying a page having moved elements in workspaces

Oliver Hader 09/22/20, 16:53 updated 06/08/24, 10:09

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…

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.