Bug 35023 - udm/validate always reports valid syntaxes for IStates syntax classes
udm/validate always reports valid syntaxes for IStates syntax classes
Status: RESOLVED DUPLICATE of bug 32306
Product: UCS
Classification: Unclassified
Component: UDM - Extended Attributes
UCS 3.2
Other Linux
: P5 minor (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-30 15:31 CEST by Dmitry Galkin
Modified: 2018-04-13 13:29 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Galkin univentionstaff 2014-05-30 15:31:37 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.
Comment 1 Alexander Kläser univentionstaff 2014-06-05 23:08:20 CEST

*** This bug has been marked as a duplicate of bug 32306 ***