I am running 2.0 on my app for almost 1 month. But when changed to 2.0 stable, got:
Fatal error: Nesting level too deep - recursive dependency? in /var/git/cakephp2.0/lib/Cake/Model/Datasource/DboSource.php on line 1501
Charging line 1491 from 'table' => $linkModel
to 'table' => $this->fullTableName($linkModel)
solved the issue.
On RC3, or pre-stable, this change was not present, but got introduced when merged 1.3 into 2.0 Tracked down to this commit: https://github.com/cakephp/cakephp/commit/d489d490
Why does the line 1491 does not use $this->fullTableName
but line 1483 does?
useTable might loose the models->tablePrefix. Is there something that is causing the loop?