Friday, April 23, 2010

Re: saveAll troubles

On Apr 22, 6:42 pm, Lucca Mordente <luccamorde...@gmail.com> wrote:
> To use 'validate'=>false as you are, disables the validation!

Sorry, I should have mentioned that disabling validation was just
something I was trying to see if that was the problem. The data is not
saved either way.

> So, this way, saveAll will always return 1

That doesn't make any sense to me. I don't think the method should
return true if the save does not occur, regardless of whether
validation is disabled or not.

I'm using 1.2.6, btw. Bad me for not specifying that.

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