Changes from DDC-1690 trigger a bug in entity merging

Details

Description

Following the changes for DDC-1690, I encountered a serious bug in how EntityManager::merge(...) functions for entities that use NOTIFY change tracking. It's related to interaction between lazy loading and calls to addPropertyChangedListener().

Marco Pivetta
added a comment - 23/Feb/13 12:47 AM I implemented a fix at https://github.com/Ocramius/doctrine2/compare/hotfix;DDC-2230
Please let me know if that branch works for you: I will open a PR tomorrow.