[BUGFIX] Add deleted = 0 to getProcessedValue 55/51955/2
authorMathias Schreiber <mathias.schreiber@typo3.com>
Sun, 5 Mar 2017 12:50:16 +0000 (13:50 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 5 Mar 2017 12:52:49 +0000 (13:52 +0100)
The doctrine migration missed a DeletedRestriction.

Resolves: #80143
Releases: master
Change-Id: I391f47ecb61be6ebdcd6f57978cf5cf5b007a2d3
Reviewed-on: https://review.typo3.org/51955
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 7308eda..fa932a4 100644 (file)
@@ -2365,6 +2365,7 @@ class BackendUtility
                                 $queryBuilder = static::getQueryBuilderForTable($theColConf['foreign_table']);
                                 $queryBuilder->getRestrictions()
                                     ->removeAll()
+                                    ->add(GeneralUtility::makeInstance(DeletedRestriction::class))
                                     ->add(GeneralUtility::makeInstance(BackendWorkspaceRestriction::class));
                                 $constraints = [
                                     $queryBuilder->expr()->eq(