Project

General

Profile

Actions

Bug #97348

closed

Typo3DbQueryParser::convertQueryToDoctrineQueryBuilder ignores Limit and Offset

Added by Christian Seyfferth over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2022-04-08
Due date:
% Done:

0%

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

Description

When converting a QueryInterface to DoctrineQueryBuilder like this:

$query = $this->createQuery();
...
$query->setLimit(10);
$query->setOffset(20);

$queryParser = GeneralUtility::makeInstance(Typo3DbQueryParser::class);
$queryBuilder = $queryParser->convertQueryToDoctrineQueryBuilder($query);

The Limit and Offset are ignored while converting.

This affects all versions of Typo3, as far as I know.

Actions

Also available in: Atom PDF