1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/lib/Doctrine/ORM/Tools/Pagination
flip111 a18aba1bb6 Improved error messages in Paginator: LimitSubqueryOutputWalker
The already existing follow-up check throwing "Not all identifier properties can be found in the ResultSetMapping: %s" is a much more technical description.

If $sqlIdentifier is empty (count 0) it can be concluded that there are no mapped results. An alternative error message could thus be "The Paginator does not support queries without mapped results." (line 153).

Possibly '!=' on line 154 could be replaced by '>' because i think this is the only situation that can occur. But since i don't know this for sure, i left it like i found it.

Didn't use elseif in this commit as per Stof his suggestion.
2013-09-17 21:01:09 +02:00
..
CountOutputWalker.php [DDC-2282] Fix pagination problem with SQL Server. 2013-03-12 19:03:27 +01:00
CountWalker.php Fixed documentation for Doctrine\ORM\Tools\Pagination 2012-12-14 13:13:22 +00:00
LimitSubqueryOutputWalker.php Improved error messages in Paginator: LimitSubqueryOutputWalker 2013-09-17 21:01:09 +02:00
LimitSubqueryWalker.php Fixed documentation for Doctrine\ORM\Tools\Pagination 2012-12-14 13:13:22 +00:00
Paginator.php DO NOT OVERRIDE CUSTOM TREE WALKERS IN getIterator() 2013-08-29 08:36:39 +02:00
WhereInWalker.php Fixed documentation for Doctrine\ORM\Tools\Pagination 2012-12-14 13:13:22 +00:00