No, beforeSave only runs before the data actually gets saved. If the
data doesn't validate, the data doesn't save, and beforeSave isn't
called. If you want something that's called regardless of whether or
not the data validates, use beforeValidate.
Btw, what are you doing with $validationErrors
i set up validationErrors array from my controller
$this->User->validationErrors['isCondition']="Check it!";
its done before save() and obviously before beforeSave() (declarewd in
app_model)
and my beforeSave() method doesnt run at all.
Question is: why is that? Shouldnt beforeSave() run anyway?