[DDC-2794] the Paginator does not support arbitrary join Created: 14/Nov/13 Updated: 23/Dec/13
|Project:||Doctrine 2 - ORM|
|Affects Version/s:||Git Master, 2.3.4, 2.4.1|
|Reporter:||Christophe Coevoet||Assignee:||Benjamin Eberlei|
Using the following query with the paginator fails:
The CountWalker and the CountOutputWalker both throw a exception saying "Cannot count query which selects two FROM components, cannot make distinction"
This message is wrong (I can make distinction here. Only User is selected in the result set) and confusing (I spent some time finding the second FROM before figuring it was related to the use of an arbitrary join instead of an association join).
|Comment by Pierre-Antoine Pinel [ 23/Dec/13 ]|
I have the same issue.
Is there a way to fix this issue ? I really need this to work with the Paginator.
|Comment by Christophe Coevoet [ 23/Dec/13 ]|
Why changing the status to "Awaiting feedback" ? It is not waiting for a feedback of the reporter to check the fix. It is an open ticket which does not have a fix yet