Glance returned 200 status code when we add element to nonexistent property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Darja Shakhray |
Bug Description
ENVIRONMENT: devstack, Glance (master, 14.08.2015)
STEPS TO REPRODUCE:
We tried add/remove/replace 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-
Changed in glance: | |
assignee: | nobody → Niall Bunting (niall-bunting) |
description: | updated |
Changed in glance: | |
assignee: | nobody → dshakhray (dshakhray) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
I can't reproduce this on my version of devstack