mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-75: Lifecycle Events are not inherited #92
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 @doctrinebot on GitHub (Oct 29, 2009).
Jira issue originally created by user nicokaiser:
When inheriting from classes that have Lifecycle Events (with @HasLifecycleCallbacks), these events are not called anymore.
@doctrinebot commented on GitHub (Oct 29, 2009):
Comment created by nicokaiser:
When adding "@HasLifecycleCallbacks" to the subclass' header docblock, event inheritance works again.
(See DDC-73 about removing @HasLifecycleCallbacks completely?)
@doctrinebot commented on GitHub (Feb 7, 2010):
Comment created by @beberlei:
Not an issue, closed.
@doctrinebot commented on GitHub (Feb 7, 2010):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Feb 10, 2010):
Comment created by romanb:
This should now work without the need for specifying @HasLifecycleCallbacks on the child entity. Of course, if the child entity defines new callback methods, it is still needed. See DDC-311.