Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0ALPHA2
-
Fix Version/s: 1.0.0BETA1
-
Component/s: Mapping Drivers
-
Labels:None
Description
When using the YAML style description together with the new embedMany functionality of mixed documents, you get a PHP notice error every time you create a new model.
Because when you have mixed documents, you don't specify a targetDocument, and therefore the YAML Driver can not find an element in the array that describes the targetDocument.
http://github.com/doctrine/mongodb-odm/commit/8c8437a9113a0849f38db0664f66dd407a497918