Bug 1738664

Summary: Error occurs when click on "Compute" navigation item after downloading a report from the Compute > Infrastructure > Hosts view.
Product: Red Hat CloudForms Management Engine Reporter: PJ Richardson <prichard>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: PJ Richardson <prichard>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.9CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: 5.11.0.19 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:36:50 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:
Attachments:
Description Flags
Error displayed when click on Compute after downloading hosts report. none

Description PJ Richardson 2019-08-07 19:22:32 UTC
Created attachment 1601530 [details]
Error displayed when click on Compute after downloading hosts report.

Description of problem:


Version-Release number of selected component (if applicable):
5.9.9.1.20190304164243_28a581b
Bug is also in:
5.10.8.0.20190729222758_e725e22
5.11.0.18.20190806180636_1dd6378

How reproducible:
Very


Steps to Reproduce:
1.Navigate to Compute > Infrastructure > Hosts
2. Click on the "Download" dropdown and select a report (Text, CSV, or PDF).
3. Click on the "Compute" item in the navigation panel.

Actual results:
Error is displayed.

Expected results:
Compute > Infrastructure > Hosts view is displayed.

Additional info:
Error also occurs after downloading a hosts comparison report and clicking on "Compute" navigation item.

Comment 2 Harpreet Kataria 2019-08-07 20:10:24 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/5964

Comment 3 CFME Bot 2019-08-08 11:47:31 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/0849d4adacdf0432a172d41b15e439af4da1853b
commit 0849d4adacdf0432a172d41b15e439af4da1853b
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Aug  7 16:02:04 2019 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Aug  7 16:02:04 2019 -0400

    Do not remember tab when downloading report from list view.

    Extended change made in https://github.com/ManageIQ/manageiq-ui-classic/pull/4945

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

 app/controllers/application_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 CFME Bot 2019-08-08 22:02:09 UTC
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk:

https://github.com/ManageIQ/manageiq-ui-classic/commit/d87822e5956f78d8c29f0218f3f1d44a0efac972
commit d87822e5956f78d8c29f0218f3f1d44a0efac972
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Thu Aug  8 07:39:46 2019 -0400
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Thu Aug  8 07:39:46 2019 -0400

    Merge pull request #5964 from h-kataria/dont_remember_tab_when_downloading_from_list_view

    Do not remember tab when downloading report from list view.

    (cherry picked from commit f0ebf9938fa86f58e728ab03e6039acaf0216a66)

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

 app/controllers/application_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 PJ Richardson 2019-08-19 14:34:25 UTC
Verified on 5.11.0.19.20190813184334_ed72c9f

Comment 7 PJ Richardson 2019-10-02 15:34:51 UTC
Covered by test_infrastructure_hosts_navigation_after_download in cfme/tests/infrastructure/test_hosts.py

Comment 11 errata-xmlrpc 2019-12-12 13:36:50 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.

https://access.redhat.com/errata/RHBA-2019:4199