Thanks for giving attention to this Gwoo.
I was trying to find where is documented the use of unique aliases
across different models on the tickets and couldn't find it.
After some searching I found this bug: https://trac.cakephp.org/ticket/3584
The behavior reported here is exactly the same I'm
You must have unique aliases in for your associated models. If you
search the tickets you will find that this has been reported and
closed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to
btw I'm using:
Cake 1.2.0.6311 beta
PHP 5.2.4-2+b1 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 6 2008
23:43:13)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
mysql Ver 14.12 Distrib 5.0.51, for debian-linux-gnu (i486) using
readline 5.2
I just found a problem with the way ClassRegistry handles aliases for
associations. I wonder why nobody else has reported it, so it may be
my fault.
I have two models:
class FirstObject extends AppModel {
public $belongsTo = array(
'Parent' => array(
'className' => 'First