Hi Michal, I run into the same problem and finally found that I had to remove the 'Media.Coupler' from the $actAs array.
Hope that works for you too! Theclansman On Jul 8, 10:42 pm, michalmalinowski <[email protected]> wrote: > Hey, I have the same problem as > Bradhttp://groups.google.com/group/cake-php/browse_thread/thread/aa331e6a... > > I am able to edit record with attachment, change attachment, change > user data etc. But I can not create new record in the 'user' model. I > tried different options: > -disabled validator > -check what will be saved in beforeSave() > -check database queries > [11] => Array > ( > [query] => START TRANSACTION > [error] => > [affected] => 0 > [numRows] => > [took] => 0 > ) > > [12] => Array > ( > [query] => COMMIT > [error] => > [affected] => 0 > [numRows] => > [took] => 0 > ) > that is all.. > > With every option that I tried my $this->data['User'] will be empty in > the beforeSave(), but it's not in controller. When I'm trying > if($this->User->saveAll($this->data, 'validate' => 'first')) script always > > returns true, but nothing will be saved. > > Can anyone please advise with that? At least in which direction we can > do research etc. > > Michal -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
