Jira issue originally created by user psliwa:
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 created by psliwa:
Falling test case.
Comment created by @beberlei:
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.
Issue was closed with resolution "Fixed"
Imported 1 attachments from Jira into https://gist.github.com/0e7a6fb9a48324cf44c5