No exception is thrown when there is no class during delete API call
Bug #1587363 reported by
Ashish Singh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kingbird |
Fix Released
|
Medium
|
Dimitri Mazmanov |
Bug Description
Currently, If there is no class in DB with a specified name then on Delete quota class API call, we get null. There has to be 404 object not found error. We should throw QuotaClassNotFound exception when there is no class with the specified name.
Changed in kingbird: | |
assignee: | nobody → Dimitri Mazmanov (sorantis) |
importance: | Undecided → Medium |
Changed in kingbird: | |
milestone: | none → newton-1 |
description: | updated |
Changed in kingbird: | |
status: | Invalid → New |
Changed in kingbird: | |
milestone: | newton-1 → 1.0.0 |
Changed in kingbird: | |
milestone: | 1.0.0 → ocata-1 |
Changed in kingbird: | |
status: | New → Fix Committed |
To post a comment you must log in.
According to the REST API response guidelines, it is correct to send the 404 Not Found code in case an object doesn't exist. i.stack. imgur.com/ whhD1.png
http://