Red Hat Bugzilla – Bug 1471014
UI: "Unexpected error encountered" when Downloading report in text,csv and pdf format
Last modified: 2017-08-15 11:16:57 EDT
Created attachment 1298219 [details]
Description of problem:
Version-Release number of selected component (if applicable):
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
Unable to download report as Text, CSV, PDF format.
unexpected error encounter on ui.
Couldn't find MiqReportResult with 'id'=30 [WHERE ("miq_report_results"."miq_group_id" IS NOT NULL)] [report/send_report_data]
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Yuri Rudman <email@example.com>
AuthorDate: Thu Aug 3 16:55:29 2017 -0400
Commit: Yuri Rudman <firstname.lastname@example.org>
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.
app/controllers/application_controller/report_downloads.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 1471732 has been marked as a duplicate of this bug. ***