Bug 1471014 - UI: "Unexpected error encountered" when Downloading report in text,csv and pdf format
Summary: UI: "Unexpected error encountered" when Downloading report in text,csv and pd...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Yuri Rudman
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard: ui:report
: 1471732 1489853 1490102 (view as bug list)
Depends On:
Blocks: 1479994 1481743 1497244
TreeView+ depends on / blocked
 
Reported: 2017-07-14 09:22 UTC by Niyaz Akhtar Ansari
Modified: 2021-03-11 15:27 UTC (History)
20 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1479994 1481743 1497244 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:35:00 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (70.99 KB, image/png)
2017-07-14 09:22 UTC, Niyaz Akhtar Ansari
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1471034 0 high CLOSED [Embedded Ansible] - Unexpected error when clicking on Download summary icon 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1471393 0 high CLOSED Unexpected error encountered while downloading pdf from configuration profile 2021-02-22 00:41:40 UTC

Internal Links: 1471034 1471393

Description Niyaz Akhtar Ansari 2017-07-14 09:22:50 UTC
Created attachment 1298219 [details]
screenshot

Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1.Go to Cloud Intel-> Reports-> All Reports
2.Select any default report and Queue
3.Select generated report and Download as Text, CSV, PDF

Actual results:
Unable to download report as Text, CSV, PDF format.
unexpected error encounter on ui.

 Error text:
Couldn't find MiqReportResult with 'id'=30 [WHERE ("miq_report_results"."miq_group_id" IS NOT NULL)] [report/send_report_data] 
Expected results:


Additional info:

Comment 8 CFME Bot 2017-08-04 13:53:35 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/9e3e8bc7c533b0f20b5b084faf24a852d4b4a63b

commit 9e3e8bc7c533b0f20b5b084faf24a852d4b4a63b
Author:     Yuri Rudman <yrudman>
AuthorDate: Thu Aug 3 16:55:29 2017 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Thu Aug 3 16:55:29 2017 -0400

    Issue: connecting as admin user and executing download will set userid column in miq_report_result table to 'admin|2d7db0c5addb0eb91de3541c811ea02e|download' and this user does not belong to any group. Solution: Reverting back to previous logic.
    https://bugzilla.redhat.com/show_bug.cgi?id=1471014

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

Comment 13 Yuri Rudman 2017-08-15 15:16:57 UTC
*** Bug 1471732 has been marked as a duplicate of this bug. ***

Comment 17 Jared Deubel 2017-09-08 14:39:14 UTC
*** Bug 1489853 has been marked as a duplicate of this bug. ***

Comment 18 Harpreet Kataria 2017-09-21 20:59:12 UTC
*** Bug 1490102 has been marked as a duplicate of this bug. ***

Comment 19 Niyaz Akhtar Ansari 2017-10-11 12:30:26 UTC
No error when Downloading report in text,csv and pdf format.
It works fine,
Verified in Version 5.9.0.1.20171004215954_13427ce


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