Project

General

Profile

Actions

Bug #78246

closed

Typo3DbQueryParser->convertQueryToDoctrineQueryBuilder() always calls queryBuilder->andWhere()

Added by Tobi Kretschmann over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-10-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

\TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser

queryBuilder->andWhere() is called even if $wherePredicates is null which results in an empty WHERE clause.

See Line: 127

$wherePredicates = $this->parseConstraint($query->getConstraint(), $source);
$queryBuilder->andWhere($wherePredicates);


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #78227: Reports module > status reports broken on 8.4-devClosed2016-10-11

Actions
Actions #1

Updated by Tobi Kretschmann over 7 years ago

  • Subject changed from Typo3DbQueryParser->convertQueryToDoctrineQueryBuilder() andWhere always called to Typo3DbQueryParser->convertQueryToDoctrineQueryBuilder() always calls queryBuilder->andWhere()
Actions #2

Updated by Susanne Moog over 7 years ago

  • Status changed from New to Closed

Duplicate of #78227
Will be fixed by https://review.typo3.org/#/c/50182/

Actions

Also available in: Atom PDF