Ok, I find the problem...
line 125 in the Registry class had:
$options = array('id' => $id, 'table' => $table, 'ds' => $ds, 'alias'
=> $alias, 'name' => $class);
which is now bee modded to:
$options = array('id' => $id, 'table' => $table, 'ds' => $ds, 'alias'
=> $alias);
it was the name that was stuffing things up...
My Model classes are
class NameModel extends... and $name = 'Name';
the latest release obviously does not like this, and I know it is not
conventional. Was changed originally because if a controller had a
class name of SomeNameComponent, it would be loaded into the
controller as $SomeName. So if I had a model that was class SomeName,
it would also be loaded into the controller as $SomeName. Hence this
was a problem!
Strange though, I did open a discussion a little while ago on the
conformity to naming conventions because controllers are
SomeNameController, yet its $name = SomeName, and then
SomeNameComponent becomes SomeName... so the ideal solution I would
say is that components become $SomeNameComponent in the controllers
and models become $SomeNameModel in the controller. sounds more
conventional to me.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---