I think this question will be clear from this example...

Why doesn't this work when placed in a plugin....
$this->Timesheet->contain('TimesheetTime.Project');

It works if you move it to the main /app/controllers

BTW, I'm specifically referring to ".Project" (read: dot Project)

Where as this does work in the plugin
$this->Timesheet->contain('TimesheetTime');

And if I move to the timesheet_times_controller.php in the plugin this
works...
$this->Timesheet->contain('Project');


So this is revolving around the second level of recursion not working
in plugins.   (Because yes, the model TimesheetTime is associated with
Project), but it still throws the error...  Model "TimesheetTime" is
not associated with model "Project"

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to