Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot added this to the 2.1.5 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.