Project

General

Profile

Actions

Bug #89495

closed

Wrong usage of database restriction api within lowlevel scripts

Added by Timo Webler over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2019-10-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

The restriction api was not correctly used within lowlevel script.
This only happens if "genTree_traverseDeleted" is deaktivated.

-$queryBuilder->getRestrictions()->add(DeletedRestriction::class);
+$queryBuilder->getRestrictions()->add(GeneralUtility::makeInstance(DeletedRestriction::class));
Actions

Also available in: Atom PDF