Issue Bug Closed

#88046RelationHandler does not respect deleted elements

Robert Vock 04/01/19, 14:40 updated 03/24/20, 17:36

Description

The Database RelationHandler does not respect deleted elements, because it removes all QueryRestrictions:

RelationHandler.php:493:“RelationHandler.php:528”:https://github.com/TYPO3/TYPO3.CMS/blob/b91e3606ba4c8032c9c66e6b2975887b842c461a/typo3/sysext/core/Classes/Database/RelationHandler.php#L528
RelationHandler.php:652

In one of our installations, this leads to an error in workspace. We have Delete-Placeholders which are deleted (??), so t3ver_state=2 and deleted=1 but those records still do not appear at some places. Our example is an image which was deleted in the workspace and somehow restored (the DELETE-Placeholder has deleted=1). But the image still does not appear as a Thumbnail in the Backend Page View.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.