On Sat, Jan 22, 2011 at 7:22 PM, opike <[email protected]> wrote: > Sorry, meant to type "debug($this->validationErrors)" > > and incidentally it is showing this now: > > Array > ( > [Alert] => Array > ( > [id] => numeric > ) > > ) > > Does that mean cake is expecting a value to be submitted for the id > field? id is set to auto-increment.
Maybe. Does the Alert model have any validation rules? Specifically, for the id. If so, add 'allowEmpty' => true to that array. Not sure why there's no message, though. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
