Hi Daniel, > I´m sure that $this->data['MyModel']['created'] is not set.
You could also try unsetting the vars before saving, just to be certain. // find record $this->data = $this->MyModel->findById($id); // resent data $this->data['MyModel']['id'] = null; unset($this->data['MyModel']['created']) unset($this->data['MyModel']['modified']); // pass data to model, calls validation, resets behaviours etc $this->MyModel->create($this->data); $this->MyModel->save(); hth jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
