Bug #35035

Doctrine repository findAll is inconsistent

Added by Christopher Hlubek over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Start date:
2012-03-20
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

The findAll method of the special doctrine repository (needed for custom DQL afaik) returns an array of objects (through parent::findAll). The default repository does return a QueryResult object which is needed for widgets etc. to work. Also the Doctrine Query itself does return a QueryResult in execute(). So the current behavior is inconsistent and can lead to bugs.


Related issues

Related to TYPO3.Flow - Bug #38381: Doctrine Repository | findAll()-method does not consider $this->defaultOrderingsResolvedKarsten Dambekalns2012-06-25

Actions
Related to TYPO3.Flow - Bug #38841: Magic findBy methods in Doctrine\Repository do not return QueryResultResolvedKarsten Dambekalns2012-07-10

Actions

Also available in: Atom PDF