What error message are you receiving?
How does your find statement look like?
Do you use the Containable behaviour?
Then maybe we will better be able to assist you in solving your
issue :)
Enjoy,
John
On May 26, 1:39 pm, Paolo <pao...@gmail.com> wrote:
> PS: I talked about the habtm relationship because if i remove that
> relation everything works well.
>
> On May 26, 12:37 pm, Paolo <pao...@gmail.com> wrote:
>
> > Hi all, I have a problem in a project I'm working on. I have a table
> > Users with two hasOne relationships with Author and Manager. The
> > Author table has a htbm relation with another table. The problem I'm
> > facing is that when querying on the users table, if there is no
> > related author (an acceptable scenario in my case), cakes returns an
> > error, specifically in the connection_manager -> getDataSource
> > function. Do you know how can I avoid this error?
> > I'm usign cake 1.2.6.
>
> > Thanks
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment