Ok, I've done some other tests and...I've found the problem.

The problem is that I'm stupid.

'className' => 'SisField',
should be instead
'className' => 'SiS.SisField',

it's even in the manual....i do not understand how i could overlook
this....i need a vacation!

thanks very much to all anyway for the support!

On 8 Mar, 10:16, WebbedIT <p...@webbedit.co.uk> wrote:
> Andy is asking you to remove your className and foreign_key
> definitions to allow cake to try and define that relationship for you,
> but as I believe your definitions to completely follow convention I'm
> not sure how that will help in this case.
>
> I run MilesJ's forum plugin in my site and from that I am calling
> related models without issue so I very much doubt this is a bug with
> the core when using plugins.
>
> Yo8u say this only happens when calling a related model from a
> controller, my guessing is it will do this when calling a related
> model from a model too.  For some reason Cake is not finding your
> model, you need to play around with renaming it etc. to eventually get
> to the bottom of it.  Are all your other models working ok, is it just
> this one?
>
> HTH
>
> Paul.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to