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

Closed
doctrinebot opened this Issue Oct 24, 2013 · 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 Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.3.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment