Bug 1393318 - Revert snapshot buttons get disabled when clicked on any snapshots in snapshot tree on few vm's
Summary: Revert snapshot buttons get disabled when clicked on any snapshots in snapsho...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Harpreet Kataria
QA Contact: Aziza Karol
URL:
Whiteboard: snapshot
Depends On:
Blocks: 1396526
TreeView+ depends on / blocked
 
Reported: 2016-11-09 10:25 UTC by Aziza Karol
Modified: 2017-06-12 16:22 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1396526 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:22:53 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)
revert snapshot disabled (124.63 KB, image/png)
2016-11-09 10:25 UTC, Aziza Karol
no flags Details
revert snapshot enabled (91.45 KB, image/png)
2016-11-09 10:27 UTC, Aziza Karol
no flags Details

Description Aziza Karol 2016-11-09 10:25:03 UTC
Created attachment 1218878 [details]
revert snapshot disabled

Description of problem:
Unable to revert snapshot as the revert snapshot button gets disabled.This is an intermittent issue.

Version-Release number of selected component (if applicable):
5.7.0.9-beta2.1.20161101182054_eb0afaa

How reproducible:
50%

Steps to Reproduce:
1.Create few snapshots on a vm.
2.In snapshot tree select a snapshot and try clicking on revert button
3.

Actual results:
Revert button gets disabled and  hovering over to revert button displays "There are no snapshots available for this vm. 

For some vm's the revert snapshot button remains enabled whereas for few it gets  disabled when clicked on any snapshot in snapshot tree.


Expected results:
revert snapshot button should be enabled

Additional info:

Comment 2 Aziza Karol 2016-11-09 10:27:45 UTC
Created attachment 1218884 [details]
revert snapshot enabled

Comment 4 Harpreet Kataria 2016-11-16 21:44:31 UTC
https://github.com/ManageIQ/manageiq/pull/12700

Comment 5 CFME Bot 2016-11-17 22:31:17 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c310a391e878d1a41ba2e668a7207a5bd8dcbfb5

commit c310a391e878d1a41ba2e668a7207a5bd8dcbfb5
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Nov 16 16:42:22 2016 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Nov 16 16:43:12 2016 -0500

    Call x_node_right_cell method to get correct active node id
    
    Call x_node_right_cell method to get correct active node id back based upon whether VMs are hidden from explorer tree or not, need an id of selected VM to reset @record when user selects a snapshot in snapshot tree.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1393318

 app/controllers/vm_common.rb       |  2 +-
 spec/controllers/vm_common_spec.rb | 19 ++++++++++++++-----
 2 files changed, 15 insertions(+), 6 deletions(-)

Comment 7 Aziza Karol 2017-03-13 07:04:24 UTC
Revert snapshot button is enabled when clicked on any snapshots in snapshot tree.

Verified:5.8.0.4.20170307183144_745a3d9


Note You need to log in before you can comment on or make changes to this bug.