Glance returned 200 status code when we add element to nonexistent property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
ENVIRONMENT: devstack, Glance (master, 14.08.2015)
STEPS TO REPRODUCE:
We tried add element to nonexistent property on artifact.
Send request
curl -H "X-Auth-Token: b582b953413b4a8
EXPECTED RESULT:
status code 400 and error description
ACTUAL RESULT:
HTTP/1.1 200 OK
Content-Length: 517
Content-Type: application/json; charset=UTF-8
X-Openstack-
Date: Mon, 17 Aug 2015 06:55:46 GMT
{"description": null, "published_at": null, "tags": [], "depends_on": null, "created_at": "2015-08-