|Subject:||Re: saveAll and validation Error on associated Model|
|Date:||Sat, 25 Dec 2010 19:38:36 -0800 PST|
I just had a very similar problem, came here to find a solution, afterall i found it in the official doc itself, I just set the validate option to true, default is first which would validate all record before saving them and would lead to those validation errors.
saveAll($this->data,array('validate' => true))
So that, as the doc says, validate each record before saving.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: how to use ssl to secure subdomains of a cakephp app, Zeu5|
|Next by Date:||Re: saveAll and validation Error on associated Model, huoxito|
|Previous by Thread:||New feature suggested for file form, webpolis|
|Next by Thread:||Re: saveAll and validation Error on associated Model, huoxito|
|Indexes:||[Date] [Thread] [Top] [All Lists]|