Request body element name existence check and error message is not consistent across all apis
Bug #1461402 reported by
Abhijeet Malawade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Abhijeet Malawade |
Bug Description
All different variations of error messages sent to the user are listed below:
1. Missing required element '<element name>' in request body.
2. Bad Request
3. Update body is not valid, It must contain '<element name>'.
4. Incorrect request body format
5. Create body is not valid
IMO, the error message must be meaningful.
Error message should be "Missing required element '<element name>' in request body."
Changed in cinder: | |
assignee: | nobody → Abhijeet Malawade (abhijeet-malawade) |
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-2 → 7.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/187886
Review: https:/