Bug 1740686

Summary: [RFE] Selecting saved report with no data shows "Choose a report from menu on left"
Product: Red Hat CloudForms Management Engine Reporter: John Dupuy <jdupuy>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: POST --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, hkataria, lavenel
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of the bug none

Description John Dupuy 2019-08-13 13:30:26 UTC
Created attachment 1603380 [details]
screenshot of the bug

Description of problem:
Generate report for which there is no data (VM Resource Utilization). Go to Saved Report, YYYY-MM-DD of saved report.
Instead of tables showing empty rows, it shows "Choose a report from menu on the left"

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

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Overview -> Reports
2. Copy report for which there is no data (e.g. VM Resoure Utilization)
3. Navigate to the copied report
4. Queue up the report
5. Navigate to "Saved Reports" and click on the VM Resource Utilization report YYYY-MM-DD

Actual results:
asks for "Choose a Report from the menus on the left."

Expected results:
An empty table should be displayed


Additional info:

Comment 4 CFME Bot 2019-08-14 09:36:42 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/db0e7dd9bd2c7362c1c7f3a5d0c755ee53c27695
commit db0e7dd9bd2c7362c1c7f3a5d0c755ee53c27695
Author:     Dávid Halász <dhalasz>
AuthorDate: Wed Aug 14 03:11:35 2019 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Wed Aug 14 03:11:35 2019 -0400

    Display flash messages for report that has no data available

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

 app/views/report/_savedreports_list.html.haml | 5 +-
 1 file changed, 4 insertions(+), 1 deletion(-)