DDC-2937: [GH-920] SingleScalarHydrator reports ambiguous error. #3653

Closed
opened 2026-01-22 14:24:45 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 27, 2014).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of flip111:

Url: https://github.com/doctrine/doctrine2/pull/920

Message:

In the previous situation there is a combined test (A or B) which result in the same error message. However the error message does not fit with condition B (see code).

Looking at the function description the function should return a a single scalar value.

On a side note:

  1. it's weird that this method call is used gatherScalarRowData() as it seems to fetch an entire row.
  2. there is no function to fetch a single row.
Originally created by @doctrinebot on GitHub (Jan 27, 2014). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of flip111: Url: https://github.com/doctrine/doctrine2/pull/920 Message: In the previous situation there is a combined test (A or B) which result in the same error message. However the error message does not fit with condition B (see code). Looking at the function description the function should return a __a single scalar value__. On a side note: 1. it's weird that this method call is used gatherScalarRowData() as it seems to fetch an entire row. 2. there is no function to fetch a single row.
admin added the Bug label 2026-01-22 14:24:45 +01:00
admin closed this issue 2026-01-22 14:24:47 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jan 27, 2014):

Comment created by flip101:

Should have paid more attention when i submit the previous PR 4 months ago :(

@doctrinebot commented on GitHub (Jan 27, 2014): Comment created by flip101: Should have paid more attention when i submit the previous PR 4 months ago :(
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Comment created by @doctrinebot:

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

@doctrinebot commented on GitHub (Apr 16, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-920] was closed: https://github.com/doctrine/doctrine2/pull/920
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Comment created by @guilhermeblanco:

Done as of 1488a509b2

@doctrinebot commented on GitHub (Apr 16, 2014): Comment created by @guilhermeblanco: Done as of https://github.com/doctrine/doctrine2/commit/1488a509b24c918e2321ca736895e6418c17e7ad
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 16, 2014): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3653