If you set onError both in model and AppModel, you should call parent::onError() in your model onError.
On Jun 8, 6:17 pm, "marco.rizze...@gmail.com" <marco.rizze...@gmail.com> 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---