If we delete the test of the $inputValidated, we save ALL object attributes, even if one isn't valid.

For example (real case), if you modify a user and you give the same email than another, you will have error returned into the admin but the email will be save even thought.