You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, when using binary fields, the following exception can be thrown under certain circumstances (I suspect it happens when retrieving entities with associations):
PHP Fatal error: Uncaught UnhandledMatchError: Unhandled match case of type Doctrine\DBAL\ParameterType in (...)/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1911
How to reproduce
Not sure how to tbh.
Expected behavior
Should not throw an error.
The text was updated successfully, but these errors were encountered:
When opening the file with my IDE, I get this warning: Match expression does not handle remaining values: Doctrine\DBAL\ParameterType::BINARY|Doctrine\DBAL\ParameterType::BOOLEAN|Doctrine\DBAL\ParameterType::LARGE_OBJECT|Doctrine\DBAL\ParameterType::NULL. You might be on to something. Would be great to have a reproducer though. A stack trace might help as well.
Bug Report
Summary
The
getArrayBindingType
method from theBasicEntityPersister
is missing the binary type.My guess is this:
should be changed to this:
Need expert hands though to evaluate the problem.
Current behavior
Right now, when using binary fields, the following exception can be thrown under certain circumstances (I suspect it happens when retrieving entities with associations):
How to reproduce
Not sure how to tbh.
Expected behavior
Should not throw an error.
The text was updated successfully, but these errors were encountered: