mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Cascade remove with extra lazy doesn’t trigger PostRemove #5606
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aumel on GitHub (Jul 18, 2017).
Originally assigned to: @Ocramius on GitHub.
I encounter a problem with extra lazy and postRemove (
doctrine/orm v2.5.6)Here a simple example. When I remove reference from group, the entity reference is removed from database but PostRemove is never called. If I remove the annotation
fetch="EXTRA_LAZY", the PostRemove is called.Is this the normal behavior?
Or maybe, am I doing something wrong?