-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setParameter issue when mixing :name and ?0 syntax #6699
Comments
Which version of Doctrine is this? It works on master with the following test-case:
I am closing the ticket for now, please re-open if you can make this query fail with your copy of Doctrine and mention the version you are using. |
I am using the latest stable doctrine version 2.5.10. In order to reproduce the bug, you have to set parameters in the same order as my example. |
Thanks for clarification, reopening, failing test here against master: #6705. |
Example:
If I call
getParameters()
, only 1 param is returned.When executing the query, an exception is thrown:
This seems to happen only if the param is named
?0
.With
?1
, it seems to be ok.The text was updated successfully, but these errors were encountered: