Hi, another newbie here, and I've created a few mvcs and with many of
them when I attempt to add to an existing table (or update), I get
'table can not be saved'. With debug at 3 I noticed that there wasn't
even an attempt to perform the insert, so its failure needed to happen
during either validation or some other step. So I poked around cake/
libs/model/mode.php and found the save function. After a bit of
further digging it appears that the data array passes validate and a
behaviours test, but fails at a test :

  if ( !$this->beforeSave() ) {
     return false;
   }

Can someone help me understand what this is testing for and perhaps
more specifcally what I can do (or not do) to get past this issue?

Thanks!
Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to