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
When you use false boolean value in the set of the querybuilder it doesn't work as expected.
$queryBuilder = $this->entityRepository->createQueryBuilder('t'); $queryBuilder->update(TaxType::class, 't')->set('t.default', false); $queryBuilder->getQuery()->execute();
It causes the following error message
Warning: Attempt to read property "type" on null in vendor/doctrine/orm/src/Query/Parser.php line 2928
but it works if you put in 'false'
'false'
Create an entity with a boolean value and then try to set it using the query builder with a boolean false.
false
For it to know that false is a boolean value and value for the boolean value or to return an Syntax error instead of trying to access full.
The text was updated successfully, but these errors were encountered:
Fixed, thanks!
Sorry, something went wrong.
No branches or pull requests
Bug Report
Summary
When you use false boolean value in the set of the querybuilder it doesn't work as expected.
Current behavior
It causes the following error message
Warning: Attempt to read property "type" on null in vendor/doctrine/orm/src/Query/Parser.php line 2928
but it works if you put in
'false'
How to reproduce
Create an entity with a boolean value and then try to set it using the query builder with a boolean
false
.Expected behavior
For it to know that false is a boolean value and value for the boolean value or to return an Syntax error instead of trying to access full.
The text was updated successfully, but these errors were encountered: