[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 Sun Oct 04 05:23:30 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.