[MODM-87] get_class() expects parameter 1 to be object, array given Created: 12/Oct/10  Updated: 24/Nov/10  Resolved: 24/Nov/10

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

Type: Bug Priority: Major
Reporter: Sebastian Hoitz Assignee: Jonathan H. Wage
Resolution: Fixed Votes: 0
Labels: None


The commit on October 4th introduced a bug for me.
Exactly this line:


Now I always get an error, because embeddedDocument is an array, and so get_class fails.

Comment by Jonathan H. Wage [ 19/Oct/10 ]

Can you give the error you get? maybe the document definitions and code you're using when flushing?

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

This is not a problem anymore after the recent refactoring!

Generated at Wed Apr 01 13:28:54 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.