DescriptionNiyaz 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:
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(-)
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: