Actions
Bug #89495
closedWrong usage of database restriction api within lowlevel scripts
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));
Updated by Gerrit Code Review about 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62089
Updated by Timo Webler about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8f8994e9cc502ddb40e61645b9d7c3756c1fd186.
Actions