Disable batch delete button when keypairs are deleted

Bug #1739871 reported by wei.ying
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
wei.ying

Bug Description

Env: devstack master branch

Steps to reproduce:

1. Go to Porject/Compute Key Pairs panel.
2. Create two key pairs, such as "keypair 1","keypair 2".
3. Select "keypair 1","keypair 2" and click batch "Delete Key Pairs" button.

After deleting keypairs, we will see that batch "Delete Key Pairs" button is not disabled and still can be clicked.

wei.ying (wei.yy)
Changed in horizon:
assignee: nobody → wei.ying (wei.yy)
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/529932

Changed in horizon:
status: New → In Progress
Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → Low
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/529932
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ab57c0937df8b870440974fd78dfe4557c104dbb
Submitter: Zuul
Branch: master

commit ab57c0937df8b870440974fd78dfe4557c104dbb
Author: wei.ying <email address hidden>
Date: Fri Nov 17 16:45:32 2017 +0800

    Fix batch delete key pairs button isn't disabled when the key pair has deleted

    When the key pair has deleted by the batch delete button, the batch
    delete button isn't disabled and still can be clicked.

    Since whatever in the keypairs panel or on key pair details page,
    After the key pair is deleted, the url will be redirected to the
    key pairs panel. The correct way is that only the key pair is deleted
    on the details page, and it needs to be redirected to the key pairs
    panel.

    Change-Id: Ie3041cc70bde84e9753be41f0a80d04534ffdf44
    Closes-Bug:#1739871

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 14.0.0.0b1

This issue was fixed in the openstack/horizon 14.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.