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 encountering.
According to the bug resolution the code should work, however I can't
make the example code to work.

I think the following section of ClassRegistry is causing the loop:

00246         if ($_this->isKeySet($alias)) {
00247             $model = $_this->getObject($alias);
00248             if (is_a($model, $class)) {
00249                 $duplicate = true;
00250             }
00251             unset($model);
00252         }

which in my case always returns false.

Thanks in advance for any help anyone can give on this.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to