Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

EEmbeddedArraysBehavior #38

Open
Blizzke opened this Issue Apr 25, 2011 · 1 comment

Comments

Projects
None yet
2 participants

Blizzke commented Apr 25, 2011

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!

Owner

canni commented May 10, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment