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

SQLFilter gives an unclear error when using non-Stringable parameters #11706

Open
7-zete-7 opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@7-zete-7
Copy link

7-zete-7 commented Nov 6, 2024

Bug Report

Q A
Version ~3

Summary

In ORM 2, parameters were converted according to the DBAL types passed with the parameters. In ORM 3 (after #9727), parameters began to be explicitly converted to a string.

Current behavior

Error while explicitly converting to string.

Expected behavior

Converting specified parameters according to the passed types.

Reproducer: https://github.com/7-zete-7/doctrine-orm-reproducer-1

[critical] Uncaught PHP Exception Error: "Object of class Symfony\Component\Clock\DatePoint could not be converted to string" at SQLFilter.php line 109
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

No branches or pull requests

1 participant