Project

General

Profile

Actions

Bug #92372

open

Duplicates when copying a page having moved elements in workspaces

Added by Oliver Hader over 3 years ago. Updated 3 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2020-09-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

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

1 source.png (163 KB) 1 source.png Oliver Hader, 2020-09-22 16:53
2 copied page.png (163 KB) 2 copied page.png Oliver Hader, 2020-09-22 16:53
3 copied page frontend.png (105 KB) 3 copied page frontend.png Oliver Hader, 2020-09-22 16:53
Actions

Also available in: Atom PDF