Wednesday, September 1, 2010

belongsTo do not make join - queries 1.3.3

I m switching from 1.2. to 1.3.3. cakePhp. Now all find('all') -
queries with belongsTo - bindings are NOT made by 'LEFT JOIN'. This
causes a lot of problems, e.g. if in $fields an Model2.field is
defined. As no Joins are generated, there comes an "unknown column"
error.
I couldn' t find any documentation or discussion about this. CakeBook
(1.3) says, belongsTo produce Left-Join bindings.
Can anybody help me?

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: