DDC-1849: Paginator: The Parameter Types are not set in Function cloneQuery #2509

Closed
doctrinebot opened this Issue May 31, 2012 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user alineblaser@hotmail.com:

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

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

But it should be:

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

@doctrinebot

Comment created by @ocramius:

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 :)

@doctrinebot

Comment created by @guilhermeblanco:

Fixed in master

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment