[DDC-1848] "QueryException: Invalid parameter number: number of bound variables does not match number of tokens" with "dev-master" of Doctrine\ORM + Pagerfanta. Created: 30/May/12 Updated: 08/Jul/12 Resolved: 08/Jul/12 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | ORM |
| Affects Version/s: | Git Master |
| Fix Version/s: | 2.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Paweł Jędrzejewski | Assignee: | Benjamin Eberlei |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
Using Symfony2 master with Doctrine\ORM master & Pagerfanta paginator (which uses Doctrine paginator internally) causes this exception. "QueryException: Invalid parameter number: number of bound variables does not match number of tokens". Works fine with the master of Symfony & same version of Pagerfanta, but with 2.2 of Doctrine ORM. Full app to see it is available here: http://github.com/Sylius/Sylius-Sandbox. Full trace (without twig and Symfony part) [1/2] QueryException: Invalid parameter number: number of bound variables does not match number of tokens |
| Comments |
| Comment by Саша Стаменковић [ 31/May/12 ] |
|
I tested Sylius against this issue with each commit from doctrine master branch, and I find out that bug appeared in this https://github.com/doctrine/doctrine2/commit/1635e0af4b06ef3015205563b59b505ae3fac69d commit. |
| Comment by Marco Pivetta [ 08/Jul/12 ] |
|
Could you check if this isn't the same problem reported at DDC-1803? |
| Comment by Benjamin Eberlei [ 08/Jul/12 ] |
|
Fixed |