This 'issue' was discussed long ago:
http://groups.google.com/group/cake-php/browse_thread/thread/acb76273176c3e21/d660547d266f8c7c?lnk=gst&q=habtm+insert+delete#d660547d266f8c7c

Basically, when some new entries are added (saved) to the jointable,
cake attempts to

DELETE FROM `jointable` WHERE model1_id = ' xxxx'

as a result, all existing associations having model1_id = ' xxxx'  in
jointable are deleted. I don't want that to happen because other
entities in my application need to reference ids of existing
associations.

I am wondering, in the newer revisions of cake, there is a way to tell
cake (1.2) to preserve the existing associations (just add new entries
and leave existing entries untouched)?

Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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