yams #204923 FormatConstraint.failed_message is broken [validation pending]

File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 1369, in glob_add_entity
edited.check(creation=True)
File "/usr/lib/python2.6/dist-packages/cubicweb/server/edition.py", line 146, in check
creation=creation, relations=relations)
File "/usr/lib/pymodules/python2.6/yams/schema.py", line 576, in check
msg, args = constraint.failed_message(qname, value)
File "/usr/lib/pymodules/python2.6/yams/constraints.py", line 332, in failed_message
choices = ', '.join('"%s"' % val for val in self.values)
AttributeError: 'FormatConstraint' object has no attribute 'values'

prioritynormal
typebug
done in0.39.1
load0.200
load left0.000
closed by#14a1e4b971c5 [constraints] fix FormatConstraint.failed_message
patch[test] add FormatConstraint validation test [folded][constraints] fix FormatConstraint.failed_message [applied]