YiiMongoDbSuite
YiiMongoDbSuite copied to clipboard
EEmbeddedArraysBehavior
Been trying to get this to work for validation. Since you cannot add entries in "embeddedDocuments()" for the arrays you define they have no "_embeddedConfig" entry. So the validation will never be called. It's not a complete disaster and I wrote a workaround for it, but I just wanted to let you know :)
Also in the EEmbeddedArraysBehavior::attach() you refer to "$testObj" in the errormessage, which does not exists.
Awesome work on the extension btw!
Thanks, will try to figure it out, the $testObj call is fixed