> Have you tried deleting all the files that have accumulated in my app/
> tmp/cache directory.  Sometimes when I have had these kinds of strange
> problems it was because of an outdated cached model file.

Hi Aran,

I deleted the cache and unfortunately that didn't help. I'm pretty
sure the wrong Model:save() is being called. I need to figure why
ProjectTask::save() is not handling this. Still stumped and its
probably something very obvious.

Best,
Joshua

> sparked an idea to override ProjectTask::save() to see if that's even
> being called and its not!
>
> class ProjectTask extends AppModel {
>     var $name = 'ProjectTask';
>     function save() {
>         echo "ProjectTask::save()<br>";
>         exit;
>     }
> }
>
> Yet the data is being stored in the DB. So it must be saving through
> Schedule::save(). ProjectTask and Schedule are associated models so I
> guess that's possible right? How can I force ProjectTask::save() to
> handle this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to