Why Validate($Clearerrors = True) ?

Why is validate($clearErrors = true) by default?

I have to force validate($clearErrors = false) to get my errors with $model->getErrors()…

That’s weird; when the validation fails the first logical thing to do is to know why.

Or maybe I’m missing something here. :)

this is because if the model contains any errors it will he erased before validation and then fill the new errors if any exists. so it was set to true by default.