Bug 1273932
Summary: | RestAPI returns 500 instead of 400 when sending invalid JSON | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Roman Mohr <rmohr> | ||||
Component: | RestAPI | Assignee: | Roman Mohr <rmohr> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.0.0 | CC: | bugs, gklein, rmohr | ||||
Target Milestone: | ovirt-4.0.0-alpha | Flags: | juan.hernandez:
ovirt-4.0.0?
rule-engine: planning_ack+ juan.hernandez: devel_ack+ pstehlik: testing_ack+ |
||||
Target Release: | 4.0.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt 4.0.0 alpha1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-08-17 14:37:05 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: | |||||||
Attachments: |
|
Description
Roman Mohr
2015-10-21 14:12:47 UTC
Is "Version" correct, did you find this issue in the 3.6 branch? Was on master. Corrected that. Will try to reproduce it on the 3.6 branch. This won't happen in 3.6, it is a side effect of removing YAML support, and that only happened in the master branch. call with mentioned json or syntactically incorrect json returns 400 Bad Request verified in ovirt-engine-restapi-4.0.2.6-0.1.el7ev.noarch |