Hi Aran, Thanks for the advice. Unfortunately I tried that and it doesn't make a difference. The syntax i tried is:
$this->ProjectTasks->create(); $this->ProjectTasks->save($task); In either case the save method does update the row in the DB but the callbacks don't happen. Any other ideas? - Joshua On Apr 17, 7:46 pm, aranworld <[EMAIL PROTECTED]> wrote: > Try putting: > > $this->ProjectTasks->create(); > > in each loop of the foreach in Schedule::afterSave() > > When you call save() multiple times on the same model, I have found > that I run into problems if I don't call create() in between each call > to save(). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
