Issue Bug Closed

#55768Drag & drop in Workspaces moves live page

Thorsten Kahler 02/07/14, 16:56 updated 10/02/18, 12:08

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.