[DDC-2701] Collections in originalEntityData gets over written Created: 23/Sep/13 Updated: 23/Sep/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Thomas Klein||Assignee:||Benjamin Eberlei|
I was trying to use the UnitOfWork::getOriginalEntityData method and i noticed that if there is a collection in that object, it changes in the uow original datas when i change it on my original object
In my case the collection is ManyToMany unidirectional
I think this happens because both the uow and the object work with the same reference to the collection
Thank you for taking a look and for Doctrine!