← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1439808] [NEW] Updating an image by adding 'id' returns a 200 response

 

Public bug reported:

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 or 409 response should be returned

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

** Affects: glance
     Importance: Undecided
         Status: New

-- 
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 'id' returns a 200 response

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

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 or 409 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


Follow ups

References