[DDC-1034] Registered lifecycle callbacks of derived classes have unexpected call sequence Created: 15/Feb/11 Updated: 04/Mar/11 Resolved: 04/Mar/11 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | ORM |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.0.2, 2.1 |
| Security Level: | All |
| Type: | Bug | Priority: | Major |
| Reporter: | Bart | Assignee: | Benjamin Eberlei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Situation: Expected output: Actual output: Test code: // 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. |
| Comments |
| Comment by Benjamin Eberlei [ 04/Mar/11 ] |
|
Fixed. |