Well, it seems I have found the previously reported Trac #633.  The
partial workaround mentioned by elsigh is clumsy, messy, and may not
work for some implementations but has the advantage of actually working
without changing core code.

My implementation requires a proper recursion depth to be specified but
it automagically gets the query right.  The implementation proposed in
#633 may not require a recursion to be set but requires the path.  I
think the both have merit.  So the difference in my case is between


$this->User->findAll(array('Region.region_name','Canada'),null,null,null,1,3);
and

$this->User->findAll(array('Subarea.Area.Region.region_name','Canada'))

Can I get comments from 'those in the know' on which way this should be
implemented?  Is there work occurring on #633?  If so, I would like to
know the strategy so my code won't break.  If not, I can clean up my
implementation to work the way it should and submit it.

Thanks,
David


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

Reply via email to