[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 Sep 02 15:16:52 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.