[BUGFIX] Delete move placeholders upon record deletion 96/13496/15
authorBart Dubelaar <bartdubelaar@gmail.com>
Tue, 7 Aug 2012 12:00:26 +0000 (14:00 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 22 Sep 2015 14:28:33 +0000 (16:28 +0200)
commitf78adb238ef9ad1a5151b6a13708b5bac68456cb
tree01017f63e936bcb012c749efe2eba620024a1b3e
parent77bf6762d2e6c3c897d025153a37c6dce6ad60c9
[BUGFIX] Delete move placeholders upon record deletion

If a record was moved in a draft workspace and subsequently
removed in the live workspace, then the move placeholder would
remain and show up as an actual record in the backend. To the
end user it appears as if the record was not deleted as one
would now see the move-placeholder.

If the mentioned moved record would be removed instead in the
very same draft workspace, the move-to-pointer was removed
correctly, but the move-placeholder stayed as well.

Resolves: #39383
Releases: master, 6.2
Change-Id: I3b0593332650795539c2d7eac075515dbd981b45
Reviewed-on: http://review.typo3.org/13496
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/version/Classes/Hook/DataHandlerHook.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSortingNDeleteLiveRecord.csv
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSortingNDeleteMovedRecord.csv