[DDC-1034] Registered lifecycle callbacks of derived classes have unexpected call sequence Created: 15/Feb/11 Updated: 04/Mar/11 Resolved: 04/Mar/11
|Project:||Doctrine 2 - ORM|
|Fix Version/s:||2.0.2, 2.1|
// Assume there is an entity manager $em
// Fetch object
Possible problem cause
ClassMetadataInfo::addLifecycleCallback($callback, $event) method has a note 'If the same callback is registered more than once, the old one will be overridden'. We are not sure whether this is the case.
|Comment by Benjamin Eberlei [ 04/Mar/11 ]|