Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.