Skip to content

Loading…

DDC-2490: EAGER associations are sometimes fetched through a Proxy non-eagerly #3210

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user tom_anderson:

In the UOW deferred eager load only works for single identifier classes. But the implementation of deferred eager load uses a Proxy which lazy loads. A boolean condition must be added to only use this deferred approach for non-EAGER relationships.

@doctrinebot

Comment created by tom_anderson:

This was caused because I was changing entities in postLoad based on == $entityClass vs instanceOf $entityClass so Proxies were not being processed in my function.

@doctrinebot

Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot
@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.