Skip to content

DDC-2484: Lazy loaded associated entities do not trigger the postLoad event #3203

Closed
@doctrinebot

Description

@doctrinebot

Jira issue originally created by user tom_anderson:

An entity retrieved with $entity = $em->find will correctly trigger the postLoad event but an entity associated with that entity $association = $entity->association which is lazy loaded will retrieve and return the associated entity without triggering postLoad. Eager loading does follow the lifecycle path of triggering postLoad.

Functional Test:
#685

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions