$uses doesn't work in Task "included" by another Task

2008-02-13 Thread Viktor Nagy
Hi, I am working on an application to analyse my installed applications usage (it's based on popularity contest from debian). The script is command line. All the "modules" (tasks in cake) work fine when I test them separately, but they fail to work in a "real" situation. The problem is the follow

is this a bug, or my error?

2008-02-13 Thread Viktor Nagy
I am running a Task from the CLI, and at a $this->Model->field query I get Fatal error: Class 'String' not found in /home/nagyv/workspace/cakephp1.2/cake/libs/model/datasources/dbo_source.php on line 1455 I've tried it with the beta and the svn trunk as well. I run PHP 5.2.3-1ubuntu6.3 (cli).