Off the top of my head, I seem to remember someone implemented a behaviour to handle this? Maybe Im going crazy. Check the Bakery....
On Dec 18, 9:12 am, zonium <[EMAIL PROTECTED]> wrote: > This 'issue' was discussed long > ago:http://groups.google.com/group/cake-php/browse_thread/thread/acb76273... > > 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 [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 -~----------~----~----~----~------~----~------~--~---
