Bug 1746449

Summary: Error occurs when comparing templates for infrastructure providers
Product: Red Hat CloudForms Management Engine Reporter: PJ Richardson <prichard>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED EOL QA Contact: PJ Richardson <prichard>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, hkataria, lavenel, mpovolny, mshriver, obarenbo, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1784180 1794434 (view as bug list) Environment:
Last Closed: 2020-03-25 18:03:10 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1784180, 1794434    
Attachments:
Description Flags
Error displayed when compare templates none

Description PJ Richardson 2019-08-28 13:36:29 UTC
Created attachment 1609009 [details]
Error displayed when compare templates

Error displayed when compare hosts

Description of problem: Selecting templates 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 templates link along the top row to go to the templates view.
4. select/check at least 2 templates
5. Click "Compare selected items".

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

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

Additional info:

Comment 3 Hilda Stastna 2019-09-02 08:26:08 UTC
The PR https://github.com/ManageIQ/manageiq-ui-classic/pull/5876 fixes the bug.