Maybe your behavior test doesn't return at all? I made that mistake once. Void is not true.
On 27 Juli, 06:10, Grant Cox <[EMAIL PROTECTED]> wrote: > It runs the beforeSave() function, which your model can implement if > you want to check what is about to be saved, and either modify the > data before saving, deny the save completely, or of course allow the > save to continue. By default there is a stub implementation in your / > cake/libs/model/model.php, which always returns true (so every save > can continue). You must have a beforeSave() defined either in your > app/app_model.php, in your actual model class in app/models, or in a > behaviour that your model implements that is returning false, stopping > the save. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---