No Error Message for missing restrictions:rules:name property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppy |
Fix Released
|
Medium
|
Amit Gandhi |
Bug Description
Post a request
a valid name value
a domain entry with a domain property set to "invalid"
an origin entry with the origin property set to a "not an origin" and port property set to 80 and the ssl property set to true
an origin entry with a rules entry with the name property set to "name." and request_url set to "www.somewebsit
a caching entry with a name property set to "caching name", the ttl property set to 0, and rules name set to "rules name" and request_url set to "www.somewhere.com"
a request entry with the name propert set to "blah" and an empty rules entry
{
"name": "Bill's New CDN Service",
"domains": [{
}],
"origins": [{
"port": 80,
"ssl": true,
"rules"
}],
"caching":[{ "name": "caching name",
"rules": [{"name": "rules name", "request_
}],
"restrictions
}
Expected Result:
400 status with an error message stating that the restrictions rules name property is required.
Actual Result:
400 Status with the following message:
{
"message": "{\"errors\": [{\"message\": \"['flavor_
}
Changed in poppy: | |
status: | New → Confirmed |
milestone: | none → kilo-2 |
Changed in poppy: | |
assignee: | nobody → Amit Gandhi (amit-gandhi) |
importance: | Undecided → Medium |
Changed in poppy: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/145341
Review: https:/