ckanext-scheming
ckanext-scheming copied to clipboard
Failures against master because of OneOf changes
The OneOf validator was changed in https://github.com/ckan/ckan/pull/5060 to replace the formencode one, but the output when there is a validation error is slightly different:
New: u"Value must be one of [u'bactrian', u'hybrid', u'f2hybrid', u'snowwhite', u'black']"
Old "Value must be one of: bactrian; hybrid; f2hybrid; snowwhite; black (not 'rocker')"
This causes the validation tests errors for sure, I'm not sure about the form functional tests but they could also be related
@amercader let's fix core, including python reprs in messages for end users is worse than what we had before.