mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #8340] Fix Hidden fields triggering error when using getSingleScalarResult() #10935
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/8340
State: closed
Merged: Yes
Using HIDDEN fields in a request was causing the "unicity" check to fail and throw a NonUniqueResultException, because we were counting raw data instead of counting gathered row data.
See https://github.com/doctrine/orm/issues/4257 for original issue.
PS: sorry if I've done something wrong in the contribution procedure, it's my first pull request :)