antoniop
committed
on 20 Dec 23
get_form_data reform:

when validation fails, revert all changes performed on the object while filling up the form fields.

Rationale: when … Show more
get_form_data reform:

when validation fails, revert all changes performed on the object while filling up the form fields.

Rationale: when validation fails, we do not persist the data. The same we should not let unvalidated data sneak into the object, as this may be e.g. displayed on the page or be otherwise used by the system.

Show less