Friday, April 23, 2010

Re: saveAll troubles

On Apr 23, 7:30 am, cricket <zijn.digi...@gmail.com> wrote:
> On Apr 23, 7:03 am, Lucca Mordente <luccamorde...@gmail.com> wrote:
>
> > Check if any error occurs on database level.
> > In debug output, see if there is a 'rollback'. If so, make sure all
> > queries that should be executed on saveAll are there. If they are, try
> > to execute the transaction directly on database and make sure that it
> > works fine.
> > I had an experience with an error on database level which has not
> > invalidated the saveAll.
>
> Good idea. If I place a die(debug($this->data)); just after the call
> to saveAll() I see only "START TRANSACTION" followed by "COMMIT".
> There's nothing else of any consequence in the logs.

BTW, $this->ElectionVote->validationErrors is also empty.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate