yams #202779 validation error of vocabulary constraint reports misleading error about size constraint [validation pending]
Assuming you have a vocabulary constraint on an attribute, a size constraint will be added automatically (see set_vocabulary() method in buildobjs). Then during validation process, both of these constraints are checked and, in case the vocabulary constraint is not satisfied, an error message about the size constraint is reported to the user, which is misleading. It seems to me that the validation process for constraints should stop upon first error.
|appeared in||<not specified>|
|closed by||#099fa63a02f0 Raise a ValidationError corresponding to the first unsatisfied constraint during entity validation|
|patch||Raise a ValidationError corresponding to the first unsatisfied constraint during entity validation [applied]|