mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2759: ArrayHydration: Only first entity in OneToMany association is hydrated #3451
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Oct 24, 2013).
Originally assigned to: @beberlei on GitHub.
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
08e38858edI'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: https://github.com/doctrine/doctrine2/pull/827
@doctrinebot commented on GitHub (Oct 25, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-827] was closed:
https://github.com/doctrine/doctrine2/pull/827
@doctrinebot commented on GitHub (Oct 26, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-827] was closed:
https://github.com/doctrine/doctrine2/pull/827
@doctrinebot commented on GitHub (Oct 26, 2013):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Oct 26, 2013):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Oct 26, 2013):
Comment created by chriscollins:
Great, thanks for the quick fix :)