Create Service Request Allowing Empty Strings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppy |
Fix Released
|
Medium
|
Amit Gandhi |
Bug Description
Posting a request for create service with empty strings does return error messages.
I have a request body where the domain property is set to an empty string, along with origin and several other mandatory fields.
{
"name": "Bills new CDN service",
"domains": [{
}],
"origins": [{
"port": 80,
"ssl": true,
"rules"
}],
"caching":[{ "name": "caching name",
"rules": [{"name": "", "request_
}],
"restrictions
"flavor_id": "blah"
}
Expected a 400 status with error messages.
Actual Result:
400 status with the following message:
{
"message": "Could not find a flavor with the id 'blah'"
}
Changed in poppy: | |
status: | Fix Committed → Fix Released |
https:/ /review. openstack. org/#/q/ status: open+project: stackforge/ poppy,n, z