Hi
I use the unique attribute in a HABTM relation.
Now  If it's true (default value) cake should first delete existing
relationship records in the foreign keys table before inserting new
ones, when updating a record.
Instead I noted that it happens only if in updating operation I have
the data relative to HABTM there is empty instead if I pass a data
relative to HABTM relation to save  I can noted that no delete
operations are executed.
Also I have noted that when the data relative to HABTM there is empty
CAKE do a fictitious INSERT operation with the associationForeignKey
set to 0 but it isn't correct.
Can someone help me about this?
Many Thanks
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to