PS: I talked about the habtm relationship because if i remove that
relation everything works well.

On May 26, 12:37 pm, Paolo <[email protected]> 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 [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