If you set onError both in model and AppModel, you should call parent::onError() in your model onError.
On Jun 8, 6:17 pm, "[email protected]" <[email protected]> wrote: > Hi > I have this strange behaviour that I can't to understand. > I would try to use the onError callback function. > Now If i set the onError function inside a model it works fine. > If I set the onError function inside AppModel It doesn't work. > Is it someone can help me about this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
