Bug 867794
Summary: | [RFE] print usage information to error page when API user calls POST action incorrectly | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | David Jaša <djasa> |
Component: | ovirt-engine-restapi | Assignee: | Ori Liel <oliel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Beňas <pbenas> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | aberezin, acathrow, bazulay, ecohen, iheim, jkt, juan.hernandez, lbopf, oramraz, pbenas, pstehlik, Rhev-m-bugs |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | org.ovirt.engine-root-3.4.0-14 | Doc Type: | Enhancement |
Doc Text: |
When a user issues a POST or PUT request in the REST API, and the body is malformed, the application now identifies, according to the context, what the user was trying to do, and returns the correct usage from RSDL.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-12 14:03:40 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
David Jaša
2012-10-18 10:10:29 UTC
*** Bug 913695 has been marked as a duplicate of this bug. *** only use-case that makes sense is a formatting errors producing marshalling exceptions, all other are covered by specific engine/api errors. I don't get any detailed info for posting to /api/tags nor vms/<vm_uuid>/ticket. I'm always getting <?xml version="1.0" encoding="UTF-8" standalone="yes"?><fault><reason>Bad Request</reason></fault>. The change has been merged to the upstream 3.4 branch, so it will be available with the next rebase. Verified in av7. Closing as part of 3.4.0 |