I have this scenario: * Products table: product_id manufacturer_id avail ....
* ProductDescriptions table: product_id lang_code short_description full_description Primary key in products table is "product_id" while in the second table is both "product_id" + "lang_code". If i search for a product in productDesc.. table i found: product_id: 340 lang_code: EN And a second row with: product_id: 340 lang_code: ES Now my problem... i have a form with the product & productDesc information but i can't get saving working... how can i save the updated data ??? I tried: $this->Product->save($this->data()) && $this->ProductDescription- >save($this->data()) but i got an error "Duplicate entry 340-ES..." Any hint??? THANKS!!!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---