I found the changeset which introduced the problem anyway:

https://trac.cakephp.org/changeset/7596#file6

                        if (is_a($model, $class) || $model->alias == $class) {
                                $duplicate =& $model;
                        }

Remove the "|| $model->alias == $class" and the warnings are gone. Is
this maybe supposed to be: "&& $model->alias == $class" ?

2008/10/7 Defranco <[EMAIL PROTECTED]>:
>
> Same problem here.
>
> The problem is that not only the documentation is suggesting this test
> case layout, but also bake when generating test case files (I think).
>
> rgds
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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