mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1842: [GH-359] Hydrator hotfix - parent object association #2323
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 (May 27, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of splitin2:
Url: https://github.com/doctrine/doctrine2/pull/359
Message:
Found that using a mixed sql and more than 2 entities the hydrator skips one related association and inserts the third related entity wrongly.
In the case below "c" will be inserted into "a"
SELECT SUM(a.sold) as total, a, b, c FROM Entity\A a LEFT JOIN a.test1 b LEFT JOIN b.test2 c GROUP BY a.idOn a later flush call this will result in ORM\Exception
@doctrinebot commented on GitHub (May 28, 2012):
Comment created by @beberlei:
A related Github Pull-Request [GH-359] was closed
https://github.com/doctrine/doctrine2/pull/359
@doctrinebot commented on GitHub (Jul 4, 2012):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Sep 8, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-359] was closed:
https://github.com/doctrine/dbal/pull/359