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 #1

Updated by Oliver Hader over 3 years ago

  • Description updated (diff)
Actions #2

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
Actions #3

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)
Actions #5

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.

Actions

Also available in: Atom PDF