Skip to content
Snippets Groups Projects
Commit 6a68a399 authored by Benni Mack's avatar Benni Mack
Browse files

[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: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarClaus-Peter Eberwein <claus-peter.eberwein@b13.com>
Tested-by: default avatarDavid Steeb <david.steeb@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarClaus-Peter Eberwein <claus-peter.eberwein@b13.com>
Reviewed-by: default avatarDavid Steeb <david.steeb@b13.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 1c63e902
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment