Unable to delete extra spec on admin volume type panel

Bug #1643417 reported by qiaomin032
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
space

Bug Description

Unable to delete extra spec on admin volume type panel

Steps to Reproduce:
================
1. Open Admin/Volumes/Volumes Type panel;
2. Click the "View Extra Specs" button in the row action of the table, and there will show a modal of 'Volume Type Extra Specs' info.
3. Click the 'Delete Extra Spec' button in the modal.

Actual results:
===========
There cast the error in the top right corner of the page,
and below is the log in the console:

Action (u'deleted extra spec', u'czxczx') Failed for Volume Type 13475ec2-69a1-421f-8eac-5f01e70d2689 has no extra specs with key c. (HTTP 404) (Request-ID: req-a6addb44-ba69-48c5-a4cf-c14172a6f479)

Expected results:
==============
Extra Specs should delete

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/400085

Changed in horizon:
assignee: nobody → qiaomin032 (chen-qiaomin)
status: New → In Progress
Changed in horizon:
status: In Progress → New
assignee: qiaomin032 (chen-qiaomin) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Rob Cresswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/400085
Reason: Abandoned due to inactivity. Please feel free to restore if you have time to work on it.

space (fengzhr)
Changed in horizon:
assignee: nobody → space (fengzhr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/447765

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/447765
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2e30dca2bc06f12a3043229a9362b0396446a22f
Submitter: Jenkins
Branch: master

commit 2e30dca2bc06f12a3043229a9362b0396446a22f
Author: space <email address hidden>
Date: Mon Mar 20 22:23:35 2017 -0400

    Fix the bug in 'Delete Extra Spec'

    The cause is that ID of a single object is passed as the argument
    so we need to convert it into an array (iterable) so that delete the
    volume_type's extra spec return success.

    Change-Id: I7d2225e5497748faf20345fd2579c359fff9f3fb
    Closes-Bug: #1643417

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
importance: Undecided → High
milestone: none → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b1

This issue was fixed in the openstack/horizon 12.0.0.0b1 development milestone.

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.