GET server API does not handle invalid sort keys or directions gracefully
Bug #1403230 reported by
Steven Kaufer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Steven Kaufer |
Bug Description
If an invalid sort key or sort direction is given the REST API returns an error code 500 with the "The server has either erred or is incapable of performing the requested operation." message.
This is occurring because the exceptions raised in oslo.db.
Exception raised here:
https:/
https:/
The error raised in this scenario should be more specific.
Changed in nova: | |
assignee: | nobody → Steven Kaufer (kaufer) |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/142247
Review: https:/