Public bug reported:

After saving metadata of type array on an image, when you go to edit and
remove that metadata and re-save. Metadata is not removed and remains on
the image.

To reproduce:
If you don't have metadata with an array type, add the json in the file 
attached at:
 - /admin/metadata_defs > Import Namespace

Then go to:
 - /admin/images and Update Metadata on one of the images.

Add one of the Storage Types (eg. SAN_storage) and click Save. Notice
metadata saved to image on image detail page.

After it saves, click Update Metadata for the same image. Remove the
metadata you just added in the previous step and click Save. After
saving notice that metadata is still on the image and was not deleted.

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "metadata definition with array type"
   
https://bugs.launchpad.net/bugs/1606988/+attachment/4708195/+files/metadata_def.json

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1606988

Title:
  saving metadata of array type error

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  After saving metadata of type array on an image, when you go to edit
  and remove that metadata and re-save. Metadata is not removed and
  remains on the image.

  To reproduce:
  If you don't have metadata with an array type, add the json in the file 
attached at:
   - /admin/metadata_defs > Import Namespace

  Then go to:
   - /admin/images and Update Metadata on one of the images.

  Add one of the Storage Types (eg. SAN_storage) and click Save. Notice
  metadata saved to image on image detail page.

  After it saves, click Update Metadata for the same image. Remove the
  metadata you just added in the previous step and click Save. After
  saving notice that metadata is still on the image and was not deleted.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to