Bug 1633727

Summary: Power dropdown enabled on archived VM
Product: Red Hat CloudForms Management Engine Reporter: Jan Zmeskal <jzmeskal>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED CURRENTRELEASE QA Contact: Ganesh Hubale <ghubale>
Severity: low Docs Contact:
Priority: high    
Version: 5.10.0CC: dmetzger, ghubale, hkataria, jprause, jzmeskal, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: Automation, Regression
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 16:51:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Jan Zmeskal 2018-09-27 15:05:09 UTC
Description of problem:
Archived VM's detail view has Power dropdown enabled and clickable even though on options are actually available to the user. 

Version-Release number of selected component (if applicable):
CFME 5.10.0.16

How reproducible:
100 %

Steps to Reproduce:
1. Have a provider with archived VM (tested on RHV 4.2.7).
2. Go to that VM's detail view.
3. Inspect Power dropdown in the upper toolbar.

Actual results:
It is enabled, however you cannot actually take any of the power actions.

Expected results:
It should be disabled.

Additional info:
Screenshot attached.

Comment 9 CFME Bot 2018-11-05 14:28:24 UTC
New commit detected on ManageIQ/ui-components/hammer:

https://github.com/ManageIQ/ui-components/commit/793afc679b23760cdd7a7d14a6fda03eb2ccc09d
commit 793afc679b23760cdd7a7d14a6fda03eb2ccc09d
Author:     Martin Hradil <himdel>
AuthorDate: Mon Nov  5 07:49:24 2018 -0500
Commit:     Martin Hradil <himdel>
CommitDate: Mon Nov  5 07:49:24 2018 -0500

    Merge pull request #357 from ManageIQ/toolbar_dropdown_disable

    Disable toolbar dropdown if no item in the group is enabled.

    (cherry picked from commit af0d12192f73942ffabd39dd67698085f9e3ce0b)

    https://bugzilla.redhat.com/show_bug.cgi?id=1633727

 src/toolbar/components/toolbar-menu/toolbar-list.html | 2 +-
 src/toolbar/components/toolbar-menu/toolbarListComponent.ts | 9 +-
 2 files changed, 9 insertions(+), 2 deletions(-)