#55768Drag & drop in Workspaces moves live page
Description
\TYPO3\CMS\Backend\Tree\Pagetree\Commands::createNode() unnecessarily triggers a move operation when creating a new page. This already lead to following bugs:
- #33104 (creating page after moved page)
- #39820 (comparison ignoring datatype)
The “solution” for #33104 caused this new bug when moving pages in a workspace via drag & drop: pages, which are positioned below a page that has been moved in that workspace before, cause their live versions to be moved, too.
The move operation in \TYPO3\CMS\Backend\Tree\Pagetree\Commands::createNode() can be dropped completely, because DataHandler does all necessary steps when using a negative pid in the datamap.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.