[MODM-81] No reference to a loaded document if proxy id = document id Created: 28/Sep/10  Updated: 24/Nov/10  Resolved: 24/Nov/10

Status: Resolved
Project: Doctrine MongoDB ODM
Component/s: UnitOfWork
Affects Version/s: None
Fix Version/s: 1.0.0BETA2

Type: Bug Priority: Blocker
Reporter: Thomas Adam Assignee: Jonathan H. Wage
Resolution: Fixed Votes: 0
Labels: None


 Description   

If I load a document and it has an internal reference to the same document with the same ID, only responds to changes in the proxy document. The main document will not be considered and any change has no effect.



 Comments   
Comment by Jonathan H. Wage [ 04/Oct/10 ]

Can I see a test case?

Comment by Thomas Adam [ 05/Oct/10 ]

test case: http://github.com/tecbot/mongodb-odm/commit/df4e3102b4b29f7e7ad6aa24800457b52f93b14d

Comment by Jonathan H. Wage [ 24/Nov/10 ]

Thanks! This is fixed now. The reference will now be the same instance as the root document itself instead of another instance of the same document.

Generated at Tue Sep 16 11:31:00 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.