mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #8670] Bug/#8667 segmentation fault when column is nullable #11118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/8670
State: closed
Merged: No
When property in Entity is defined as column with ManyToOne relation and have possibility to provide nullable values, during insertion to database original
\PDOobject returns PHP Core errorSegmentation fault, because we trying to bind nullable parameter as integer. But this PullRequest is just proposition. Maybe someone have better idea how we can manage nullable relation and binding of parameters.Tested with
doctrine\orm2.9.x and PHP 8.0.5