We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of uthopiko:
Url: #1224
Message:
When you create QueryBuilder and you bind some parameters, if you use setParameters function after bind other parameters, previous parameters are removed(https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/QueryBuilder.php#L558). This would not be a problem if it was the same behaviour with the attribute $_parameterMappings (in ParserResult), but it's not the case, given that it keeps the number of parameters introduced, throwing an exception(https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query.php#L293). To prevent this, I've made it initialize the setParameters with the existing ones.
The text was updated successfully, but these errors were encountered:
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1224] was assigned: #1224
Sorry, something went wrong.
A related Github Pull-Request [GH-1224] was closed: #1224
Issue was closed with resolution "Won't Fix"
guilhermeblanco
No branches or pull requests
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of uthopiko:
Url: #1224
Message:
When you create QueryBuilder and you bind some parameters, if you use setParameters function after bind other parameters, previous parameters are removed(https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/QueryBuilder.php#L558). This would not be a problem if it was the same behaviour with the attribute $_parameterMappings (in ParserResult), but it's not the case, given that it keeps the number of parameters introduced, throwing an exception(https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query.php#L293). To prevent this, I've made it initialize the setParameters with the existing ones.
The text was updated successfully, but these errors were encountered: