Hi all,

Sorry if this message has already been sent.

I'm having trouble with a habtm relation. I need a non unique
relation.
But even if I set unique to false in my models it's not used when I
use findAll.

So I looked in the code and found that in /cake/libs/model/datasources/
dbo_source.php about the line 818, a filtering is done for uniqueIds.
But even if unique is set to false its done...

I patched it, just to test, by adding : !$assocData['unique'] || ...
in the if condition and it worked well.

Does someone knows if I'm wrong saying there is a problem here ?

Thanks a lot :)

(Sorry for my english I'm french)

--~--~---------~--~----~------------~-------~--~----~
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