Skip to content
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

[Need Help] Testing boolean comparison using ParameterType #6526

Open
wants to merge 4 commits into
base: 4.1.x
Choose a base branch
from

Conversation

nickvergessen
Copy link
Contributor

@nickvergessen nickvergessen commented Sep 24, 2024

Q A
Type bug
Fixed issues To-Be-Raised-If-Needed

Summary

In Nextcloud we started to experience strange behaviour with Oracle when using boolean FALSE in WHERE-clauses with parameters.
The behaviour works as expected, when as parameter type we pass Doctrine\DBAL\Types\Types::BOOLEAN instead of Doctrine\DBAL\ParameterType::BOOLEAN in our code base, but I think from the doc blocks and declarations this is not what should be done.

This fix can also not be confirmed here using the 4.1.x branch as a base, but my test at least is failing with the same problem/bug: Using false in a where condition seems to not be possible?

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/boolean-comparison-with-oracle branch from a06ad45 to acfc0d2 Compare September 24, 2024 09:23
@nickvergessen nickvergessen changed the title [WIP] Try testing boolean comparison using ParameterType [Need Help] Try testing boolean comparison using ParameterType Sep 24, 2024
@nickvergessen nickvergessen changed the title [Need Help] Try testing boolean comparison using ParameterType [Need Help] Testing boolean comparison using ParameterType Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant