Bug 1179491

Summary: Statistics page behavior when looking at an empty org looks broken
Product: Red Hat Satellite Reporter: Matt Reid <mreid>
Component: ReportingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NEXTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.6CC: bbuckingham, bkearney, cwelton, ehelms, oprazak, rohoover
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10201
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:03:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Empty org results in empty stats tiles
none
Detail view of empty tile is just a white modal window with a title
none
Set to Any Context, almost all tiles have content
none
Normal detail view of tile none

Description Matt Reid 2015-01-06 22:08:32 UTC
Description of problem:
I think it's just how the Statistics page deals with low volumes of information, but in our lab environment, it looks broken. When I load the Stats from Any Context, I see some tiles that have basic charts in them, except for Class Distribution. From here, I can click on the doughnut, and get taken to the relevant page, or I can click on the title of the tile, and see a larger view, potentially with a bit more information.

When I flip to a specific org (in our case, it doesn't have any hosts yet), the tiles remain, but now they're empty, even the detailed view from clicking on the title.

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

How reproducible:
100%

Steps to Reproduce:
1. Go to the Statistics page, looking at Any Context
2. Then, go to the Statistics page, looking at an org that doesn't have any (or many) systems

Actual results:
You'll see lots of empty tiles that don't indicate there's no data, they just look like they didn't load

Expected results:
If there's not enough data to show any Statistics, we should say so, rather than showing empty tiles

Additional info:

Comment 1 Matt Reid 2015-01-06 22:09:40 UTC
Created attachment 976962 [details]
Empty org results in empty stats tiles

Comment 2 Matt Reid 2015-01-06 22:10:25 UTC
Created attachment 976963 [details]
Detail view of empty tile is just a white modal window with a title

Comment 3 Matt Reid 2015-01-06 22:11:15 UTC
Created attachment 976964 [details]
Set to Any Context, almost all tiles have content

Comment 4 Matt Reid 2015-01-06 22:11:42 UTC
Created attachment 976965 [details]
Normal detail view of tile

Comment 5 RHEL Program Management 2015-01-06 22:24:05 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 7 Bryan Kearney 2015-04-17 20:32:46 UTC
Created redmine issue http://projects.theforeman.org/issues/10201 from this bug

Comment 8 Bryan Kearney 2015-08-25 18:33:03 UTC
Upstream bug component is Provisioning

Comment 10 Bryan Kearney 2016-08-10 19:05:39 UTC
Upstream bug component is Reporting

Comment 11 Bryan Kearney 2016-08-10 20:06:36 UTC
Upstream bug component is Provisioning

Comment 12 Bryan Kearney 2016-08-10 22:06:24 UTC
Upstream bug component is Reporting

Comment 13 Bryan Kearney 2016-11-09 11:00:33 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/10201 has been resolved.

Comment 15 Bryan Kearney 2017-08-01 20:03:28 UTC
The fix to this bug will be delivered with release 6.3 of Satellite.