Bug 1428946

Summary: ui controls ignored in Host Comparison
Product: Red Hat CloudForms Management Engine Reporter: Martin Kourim <mkourim>
Component: UI - OPSAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, jhardy, jzigmund, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:compare:hosts
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-31 14:38:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:

Description Martin Kourim 2017-03-03 16:32:05 UTC
Description of problem:
All the UI controls are ignored once the "Compare Host / Node" view is displayed.
Selecting and unselecting Comparison Sections, changing attributes to display (all, with different values, with same values), changing mode (Detail or Exists), changing view (Expanded and Compressed) or removing host from comparison has no effect.

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

How reproducible:

Steps to Reproduce:
1. go to Compute -> Infrastructure -> Hosts
2. select hosts to compare
3. select Configuration -> Compare Selected items
4. try to use UI controls to change what is displayed

Actual results:
UI controls make no difference

Expected results:
UI control affects what information is displayed

Comment 3 Harpreet Kataria 2017-03-06 17:08:14 UTC

This seems to be an issue caused by removal of layouts/compare render from show partials in non-explorer screens, app/controllers/application_controller/compare.rb is trying to replace html in main_div which does not exist so none of the buttons on compare in non-explorer seem to be working.

Can you please look into this and reassign with details on how to fix it.


Comment 5 CFME Bot 2017-03-24 15:03:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

commit 3541d83a779a5f42dc4582d7955694fdc2f3bee8
Author:     Jozef Zigmund <jzigmund@redhat.com>
AuthorDate: Thu Mar 23 14:30:21 2017 +0100
Commit:     Jozef Zigmund <jzigmund@redhat.com>
CommitDate: Fri Mar 24 14:18:13 2017 +0100

    Added missing main_div - fixed functions on hosts comparison

 app/views/compare.haml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comment 6 Martin Kourim 2017-04-03 14:30:21 UTC
Verified on that the controls are no longer ignored.

Comment 8 errata-xmlrpc 2017-05-31 14:38:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.