1
0
mirror of synced 2025-01-20 07:21:40 +03:00

Merge pull request #1065 from egeloen/DDC-3179

[DDC-3179] EntityNotFoundException on the postRemove event if the entity is a proxy
This commit is contained in:
Marco Pivetta 2014-06-26 18:25:53 +02:00
commit 9e36a95a97

View File

@ -191,6 +191,12 @@ the life-time of their registered entities.
safe to access associations in a postLoad callback or event safe to access associations in a postLoad callback or event
handler. handler.
.. warning::
Note that the postRemove event or any events triggered after an entity removal
can receive an uninitializable proxy in case you have configured an entity to
cascade remove relations. In this case, you should load yourself the proxy in
the associated pre event.
You can access the Event constants from the ``Events`` class in the You can access the Event constants from the ``Events`` class in the
ORM package. ORM package.