DDC-2655: Query#getOneOrNullResult lets NoResultExceptions through #3329

Closed
opened 2026-01-22 14:18:06 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Sep 5, 2013).

Originally assigned to: @Majkl578 on GitHub.

Jira issue originally created by user terite:

Query#execute throws NullResultException sometimes, depending on $hydrationMode and getOneOrNullResult doesn't catch them. Pending pull request adds a test and workaround/fix.

Originally created by @doctrinebot on GitHub (Sep 5, 2013). Originally assigned to: @Majkl578 on GitHub. Jira issue originally created by user terite: Query#execute throws NullResultException sometimes, depending on $hydrationMode and getOneOrNullResult doesn't catch them. Pending pull request adds a test and workaround/fix.
admin added the Bug label 2026-01-22 14:18:06 +01:00
admin closed this issue 2026-01-22 14:18:06 +01:00
Author
Owner

@doctrinebot commented on GitHub (Sep 5, 2013):

Comment created by terite:

https://github.com/doctrine/doctrine2/pull/780

@doctrinebot commented on GitHub (Sep 5, 2013): Comment created by terite: https://github.com/doctrine/doctrine2/pull/780
Author
Owner

@doctrinebot commented on GitHub (Oct 11, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-780] was closed:
https://github.com/doctrine/doctrine2/pull/780

@doctrinebot commented on GitHub (Oct 11, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-780] was closed: https://github.com/doctrine/doctrine2/pull/780
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3329