Bug 832075
Summary: | RESTAPI: API does not validate enums validity when they supplied by user | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Michael Pasternak <mpastern> |
Component: | ovirt-engine-restapi | Assignee: | Ori Liel <oliel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Elena <edolinin> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | bazulay, dyasny, ecohen, iheim, mkenneth, mpastern, Rhev-m-bugs, srevivo, ykaul |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | si18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 20:00:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Pasternak
2012-06-14 12:57:42 UTC
QE should add to negative tests /verify/ that non-enum values are not permitted. patch posted: http://gerrit.ovirt.org/#/c/7218/ si 16 - error doesn't contain list of possible values <fault> <reason>Invalid value</reason> <detail>aaa is not a member of StorageType</detail> </fault> patch posted upstream: http://gerrit.ovirt.org/#/c/7703/ merged upstream, commit e876beb2deeaa0b27170976a48380e05c57e43af patch posted downstream: https://gerrit.eng.lab.tlv.redhat.com/#/c/1895/ ignore previous patch (mistakenly depended on outdated patch, and consequently abandoned). patch posted downstream: https://gerrit.eng.lab.tlv.redhat.com/#/c/1896/ Verified in si18 |