Reviewed: https://review.openstack.org/281298 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=49a1a6356d8239d5f463c4e09564171dcccaa662 Submitter: Jenkins Branch: master
commit 49a1a6356d8239d5f463c4e09564171dcccaa662 Author: Masco Kaliyamoorthy <mkali...@redhat.com> Date: Wed Feb 17 19:45:38 2016 +0530 Hide delete volume if it has snapshot If the volume has a snapshot, it is not allowed to delete it. In tables the delete action is hidden but if we go to the volume detail page, the delete action is available. This patch hides the delete volume on detail page too. Change-Id: I4d8690b035dedd7ebcacb3479d346cfb3fb324f1 Closes-Bug: #1546423 ** Changed in: horizon Status: In Progress => Fix Released -- 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/1546423 Title: delete volume action link is shown even if it shouldn't Status in OpenStack Dashboard (Horizon): Fix Released Bug description: copying a end user bug report here: Description of problem: If volume has snaphost, it can't be deleted (need to remove them first). If you navigate to detail of the volume, there exists a link to Delete volume - and it shouldn't be there. Version-Release number of selected component (if applicable): liberty How reproducible: 100% Steps to Reproduce: 1. log in as demo user 2. Project - Compute - Volumes 3. create Volume with default values, name it "test" 4. verify, that drop down menu of the row with "test" volume contain Delete volume click to Create snapshot, name it as "test_snap" navigate back to list of Volumes (not snapshots of them) verify, that drop down menu of the row with "test" volume does NOT contain Delete volume click to name of the volume to navigate to detail of volume "test" on the right top of page there is action button with dropdown menu. There is Delete volume item, that is not accessible from list of volumes Actual results: Delete volume item on detail page shouldn't be there, if there exists snapshot of it Expected results: Delete volume is visible always (or seems to be) To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1546423/+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