[DDC-1803] Paginator usage with a DQL query that is using 2 time the same named binded value failed Created: 30/Apr/12 Updated: 25/Jan/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Marc Drolet||Assignee:||Benjamin Eberlei|
I use a dql query where I bind a named parameter 2 time in the same query for different joined fields. The query work but the count query failed saying that there are missing bind variable.
$onTheMarket = new Paginator($qb, $fetchJoin = true);
To make it work, I've renamed the second usage of the named variable with a 2 at the end. deleted2 and published2.
|Comment by Marco Pivetta [ 23/Jan/13 ]|
This seems to be quite old. Marc Drolet is it still valid with the latest ORM?
|Comment by Marc Drolet [ 25/Jan/13 ]|
I'll try to test this problem on an updated version and I'll let you know.
|Comment by Marco Pivetta [ 25/Jan/13 ]|
Ok, marking as awaiting feedback