Bug 1331017

Summary: [RFE][S-3] UI displays disabled domains for a instance's domain priority
Product: Red Hat CloudForms Management Engine Reporter: Josh Carter <jocarter>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: cpelland, dmisharo, hkataria, jhardy, mfeifer, mpovolny, obarenbo, simaishi
Target Milestone: MVPKeywords: FutureFeature, RFE, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard: automate:ui
Fixed In Version: 5.10.0.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1553319 (view as bug list) Environment:
Last Closed: 2019-02-11 13:55:01 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:
Bug Depends On:    
Bug Blocks: 1511957, 1553319, 1555371    

Description Josh Carter 2016-04-27 13:03:58 UTC
Description of problem:

When the admin clicks on a instance that has duplicate entries in two different domains. If one domain is disabled it is still displayed in the UI for the domain priority. Please see attached screenshoot.  

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


How reproducible:
very


Steps to Reproduce:
1. create two domains
2. attach the same automate code to both domains.
3. disable one domain
4. click on a instance and see both domains displayed.

Actual results:


Expected results:


we should not display disabled domains

Additional info:

Comment 9 CFME Bot 2018-02-26 15:08:54 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/c7372e73c61f83f849b32069a69738a138a24e56

commit c7372e73c61f83f849b32069a69738a138a24e56
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Feb 23 13:59:02 2018 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Feb 23 15:35:10 2018 -0500

    Added text (Disabled) next to disabled domain on the right.
    
    Adjusted existing psec test
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1331017

 app/helpers/miq_ae_class_helper.rb               | 2 ++
 spec/controllers/miq_ae_class_controller_spec.rb | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

Comment 11 Dmitry Misharov 2018-06-22 10:51:04 UTC
Tested on 5.10.0.1.20180619163011_900fdc4. Disabled domain is not displayed in the domain priority.