DDC-1514: Invalid hydration on multiple joins cross the same table #2145

Closed
doctrinebot opened this Issue Nov 29, 2011 · 5 comments

2 participants

@doctrinebot

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.

@doctrinebot

Comment created by psliwa:

Falling test case.

@doctrinebot

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.

@doctrinebot

Comment created by @beberlei:

Fixed.

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.1.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