Bug 1746214 - Error occurs when comparing hosts in provider All Hosts view
Summary: Error occurs when comparing hosts in provider All Hosts view
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.9
Hardware: Unspecified
OS: Linux
medium
high
Target Milestone: GA
: 5.12.0
Assignee: Hilda Stastna
QA Contact: PJ Richardson
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1784181 1794438
TreeView+ depends on / blocked
 
Reported: 2019-08-28 01:38 UTC by PJ Richardson
Modified: 2020-03-25 18:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1784181 1794438 (view as bug list)
Environment:
Last Closed: 2020-03-25 18:03:05 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error displayed when compare hosts (52.48 KB, image/png)
2019-08-28 01:38 UTC, PJ Richardson
no flags Details

Description PJ Richardson 2019-08-28 01:38:02 UTC
Created attachment 1608772 [details]
Error displayed when compare hosts

Description of problem: Selecting hosts in the provider, All Hosts view and then clicking on "Compare selected items" causes error.


Version-Release number of selected component (if applicable):
bug is in 5.10.9.0.20190819184228_a6f851e
bug is also in  5.11.0.21.20190821214526_b0060d0
bug is NOT in 5.9.9.1.20190304164243_28a581b

How reproducible: Very


Steps to Reproduce:
1. Navigate to Compute > Infrastructure > providers
2. Click on a provider hostname in the quadicon to go to the dashboard view.
3. Click on the Hosts link along the top row to go to the All managed hosts view.
4. select/check at least 2 hosts
5. Click "Compare selected items".

Actual results:
Error is displayed: No route matches {:action=>"compare_miq", :controller=>"ems_infra", :id=>"2"} [ems_infra/button]

Expected results:
Comparison view is displayed for the selected hosts.

Additional info:
Host comparison works without filtering for providers (navigating thru the provider). If you navigate to Compute > Infrastructure > Hosts, comparison will work.

Comment 3 Harpreet Kataria 2019-08-28 17:01:37 UTC
Should be retested after https://github.com/ManageIQ/manageiq-ui-classic/pull/5876 is backported.

Comment 4 Hilda Stastna 2019-08-29 08:57:00 UTC
Yes, https://github.com/ManageIQ/manageiq-ui-classic/pull/5876 fixes this bug and needs to be backported asap.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1733120

Comment 7 PJ Richardson 2019-11-12 16:48:57 UTC
This BZ is covered by test_compare_hosts_from_provider_allhosts in integration_tests.


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