YiiMongoDbSuite icon indicating copy to clipboard operation
YiiMongoDbSuite copied to clipboard

EEmbeddedArraysBehavior

Open Blizzke opened this issue 14 years ago • 1 comments

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!

Blizzke avatar Apr 25 '11 10:04 Blizzke

Thanks, will try to figure it out, the $testObj call is fixed

canni avatar May 10 '11 12:05 canni