1
0
mirror of synced 2025-03-25 17:33:55 +03:00

[DDC-3179] Document postRemove limitation

This commit is contained in:
Eric GELOEN 2014-06-26 18:08:39 +02:00
parent 22d71de2c3
commit 20f96cc9d3

View File

@ -191,6 +191,12 @@ the life-time of their registered entities.
safe to access associations in a postLoad callback or event
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
ORM package.