← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1439808] Re: Updating an image by adding or replacing 'id' returns a 200 response

 

** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1439808

Title:
  Updating an image by adding or replacing 'id' returns a 200 response

Status in Glance:
  Fix Released

Bug description:
  Overview:
  When a user attempts to update an image by adding 'id' as an image property, a 200 response is returned.

  Steps to reproduce:
  1) Create an image
  2) Update the image via PATCH /images/<id> passing '[{"path": "/id", "value": "00000000-0000-0000-0000-000000000000", "op": "add"}]'
  3) Notice that a 200 accepted response is returned even though the image does not appear to be updated

  Expected:
  A 403 response should be returned

  Actual:
  A 200 response is returned and the image does not appear to be updated

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1439808/+subscriptions


References