[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


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.

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 Wed Nov 25 01:27:18 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.