Univention Bugzilla – Bug 35023
udm/validate always reports valid syntaxes for IStates syntax classes
Last modified: 2018-04-13 13:29:07 CEST
For a number of Syntax classes of extended attributes the 'udm/validate' request replies 'valid'==true even when providing a value with a wrong (i.e. invalid) type, for example: Validating 'TrueFalse' extended attribute 'umc_test_attribute_cfi5rs_tf' syntax check with a non-boolean value 'This is not a boolean!' Response: {u'property': u'umc_test_attribute_cfi5rs_tf', u'valid': True} ### FAIL ### The extended 'TrueFalse' attribute 'umc_test_attribute_cfi5rs_tf' syntax check with a given non-boolean value reported string 'This is not a boolean!' as a valid 'TrueFalse' value ### ### Meanwhile, for instance with an 'integer' syntax values it works as intended.
*** This bug has been marked as a duplicate of bug 32306 ***