antoniop
committed
on 30 Aug 22
template::element validation reform: do not run custom user-defined validation on fields that are not formally correct

Rationale: user-defi… Show more
template::element validation reform: do not run custom user-defined validation on fields that are not formally correct

Rationale: user-defined validation often assumes some basic consistency of the submitted value. When this is not formally correct, users might have to reimplement the whole formal validation in their custom fields in order to prevent exceptions. By preventing their custom blocks from being executed, users can rely on their custom fields to be run only against sane values.

Show less