[DDC-1514] Invalid hydration on multiple joins cross the same table Created: 29/Nov/11  Updated: 15/Dec/11  Resolved: 15/Dec/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: 2.1.3, 2.1.4, 2.1.5
Fix Version/s: 2.1.5
Security Level: All

Type: Bug Priority: Major
Reporter: Piotr Śliwa Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

Attachments: File DDC1514Test.php    


Simillar issue to DDC-1452. Somtime (yes, this bug is not easy to reproduce...) when you fetch objects with multiple join cross the same table (as in DDC-1452 issue), some joins are ignored and multiple queries are necessary to lazy load relations.

I will attach falling test case soon.

Comment by Piotr Śliwa [ 29/Nov/11 ]

Falling test case.

Comment by Benjamin Eberlei [ 15/Dec/11 ]

Verified and i know why it happens.

The entities ba are created before c's are created. That is why doctrine sees a proxy already and then does not fill it with the data.

Comment by Benjamin Eberlei [ 15/Dec/11 ]


Generated at Sat Oct 10 06:59:52 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.