Bug 1751328

Summary: Chargeback report preview fails
Product: Red Hat CloudForms Management Engine Reporter: Tasos Papaioannou <tpapaioa>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, hkataria, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1767659 (view as bug list) Environment:
Last Closed: 2020-10-26 16:25:53 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: 1767659    

Description Tasos Papaioannou 2019-09-11 18:00:09 UTC
Description of problem:

When editing a VM chargeback report, clicking the 'Generate Report Preview' icon on the Preview tab fails to display a preview. A traceback appears in production.log.

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

5.11.0.23

How reproducible:

100%

Steps to Reproduce:
1.) On an appliance with VM metric rollup data, assign default chargeback rates to the Enterprise, and create a chargeback report.
2.) Click on Overview > Reports > Edit report 'tp-default' > Preview tab > Generate Report Preview.


Actual results:

No preview appears. Traceback is logged in production.log.

Expected results:

Preview appears.

Additional info:

Issue is new in 5.11, not seen in 5.10.

Comment 6 CFME Bot 2019-09-12 16:06:07 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/60e3003d347c31fc4e1e83e5ab3f71f6b5b2911e
commit 60e3003d347c31fc4e1e83e5ab3f71f6b5b2911e
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Sep 12 05:32:44 2019 -0400
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Thu Sep 12 05:32:44 2019 -0400

    Fix traceback in edit report preview

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

 app/controllers/report_controller/reports.rb | 4 +-
 1 file changed, 2 insertions(+), 2 deletions(-)