← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257882] [NEW] When editing flavor extra spec, it's creating a new entry instead of updating the current one

 

Public bug reported:

In Horizon, when editing a flavor extra spec, in case of you change the
key name, horizon will not update the selected extra spec but create a
new one.

STEPS TO REPRODUCE:
1. login on Horizon
2. select "admin" TAB
3. Select "Flavors" option
4. for a given flavor, click on "More" and select "View extra spec"
5. Create and extra expec with key "test1" value "value1"
6. in the created entry line, click on "edit" button
7. change key to "test2" and value "value2"

You' see a new entry will be created and both will be kept.

As a solution, the field that contain the "key" should not accept changes when editing extra spec.
This way only the value is updated properly and no new entry is created.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1257882

Title:
  When editing flavor extra spec, it's creating a new entry instead of
  updating the current one

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In Horizon, when editing a flavor extra spec, in case of you change
  the key name, horizon will not update the selected extra spec but
  create a new one.

  STEPS TO REPRODUCE:
  1. login on Horizon
  2. select "admin" TAB
  3. Select "Flavors" option
  4. for a given flavor, click on "More" and select "View extra spec"
  5. Create and extra expec with key "test1" value "value1"
  6. in the created entry line, click on "edit" button
  7. change key to "test2" and value "value2"

  You' see a new entry will be created and both will be kept.

  As a solution, the field that contain the "key" should not accept changes when editing extra spec.
  This way only the value is updated properly and no new entry is created.

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


Follow ups

References