Bug #81240

Typo3DBQueryParser doesn't wrap subselect in braces for has many relations

Added by Thomas Maroschik over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2017-05-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When your Extbase Model contains a RELATION_HAS_MANY and your query contains a constraint relating to this relation, the Typo3DbQueryParser generates a subselect for this property. This subselect has to be wrapped in braces, so the MySQL query parser can distinguish between the main and the subquery. These are missing currently.

#1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52817

#2

Updated by Gerrit Code Review over 3 years ago

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/52847

#3

Updated by Thomas Maroschik over 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF