Bug #89495

Wrong usage of database restriction api within lowlevel scripts

Added by Timo Webler 3 months ago. Updated 30 days ago.

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

100%

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));

Associated revisions

Revision 8f8994e9 (diff)
Added by Timo Webler 2 months ago

[BUGFIX] Fix from usage of database restriction within lowlevel scripts

Resolves: #89495
Releases: 8.7
Change-Id: I006f3f36089bf6963a330f620ea000409e422d31
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62089
Tested-by: Markus Goldbach <>
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Reviewed-by: Markus Goldbach <>
Reviewed-by: Susanne Moog <>

History

#1 Updated by Gerrit Code Review 3 months 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

#2 Updated by Timo Webler 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#3 Updated by Benni Mack 30 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF