Update flavor showing unexpected behaviour

Bug #1715053 reported by Akhil jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Valence
New
Undecided
Unassigned

Bug Description

Passing uuid of some other existing flavor in request arguments
of PATCH request to flavors api, updates flavor with uuid passed
in request argument instead of one in url.

Example:
curl -i -X PATCH -d '{"name":"flavor1234", "uuid":"UUID-1",
"properties":{"memory":{"type":"SSD"}}}'
"http://localhost:8181/v1/flavors/<UUID-2>"
-H "Accept:application/json" -H "Content-Type:application/json"

The above request updates flavor with UUID-1, whereas it should
update flavor with UUID-2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.