[DDC-1849] Paginator: The Parameter Types are not set in Function cloneQuery Created: 31/May/12  Updated: 22/Jun/12  Resolved: 22/Jun/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: Tools
Affects Version/s: 2.2.2
Fix Version/s: 2.3
Security Level: All

Type: Bug Priority: Major
Reporter: Aline Blaser Assignee: Guilherme Blanco
Resolution: Fixed Votes: 0
Labels: None


The Parameter-Types are not set in the Function cloneQuery in the Paginator-Class (Doctrine/ORM/Tools/Pagination/Paginator.php line 172):


But it should be:

$cloneQuery->setParameters($query->getParameters(), $query->getParameterTypes());

Comment by Marco Pivetta [ 10/Jun/12 ]

Could you try to use latest master? This should already be solved as now parameters are instances of `Doctrine\ORM\Query\Parameter`, which also means that they enclose their type

Comment by Guilherme Blanco [ 22/Jun/12 ]

Fixed in master

Generated at Wed Apr 01 14:34:53 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.