Skip to content

Loading…

DDC-2759: ArrayHydration: Only first entity in OneToMany association is hydrated #3504

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user chriscollins:

When calling getArrayResult() on a query, the result is not being hydrated correctly. Where there should be multiple entities appearing (for a OneToMany association), only the first entity appears in the array.

git bisect suggests this was introduced in 08e3885

I've attached a test case with a simplified schema that fails on the above commit, but passes on the commit immediately previous.

If you need any further info, please let me know.

EDIT: PR for failing test case: #827

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-827] was closed:
#827

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-827] was closed:
#827

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by chriscollins:

Great, thanks for the quick fix :)

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.3.5 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.