[PR #8340] Fix Hidden fields triggering error when using getSingleScalarResult() #10935

Closed
opened 2026-01-22 16:09:09 +01:00 by admin · 0 comments
Owner

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 :)

**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 :)_
admin added the pull-request label 2026-01-22 16:09:09 +01:00
admin closed this issue 2026-01-22 16:09:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10935