Bug 1179491 - Statistics page behavior when looking at an empty org looks broken
Summary: Statistics page behavior when looking at an empty org looks broken
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-06 22:08 UTC by Matt Reid
Modified: 2019-09-26 13:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 20:03:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Empty org results in empty stats tiles (27.53 KB, image/png)
2015-01-06 22:09 UTC, Matt Reid
no flags Details
Detail view of empty tile is just a white modal window with a title (25.85 KB, image/png)
2015-01-06 22:10 UTC, Matt Reid
no flags Details
Set to Any Context, almost all tiles have content (77.73 KB, image/png)
2015-01-06 22:11 UTC, Matt Reid
no flags Details
Normal detail view of tile (80.69 KB, image/png)
2015-01-06 22:11 UTC, Matt Reid
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10201 0 None None None 2016-04-22 14:52:45 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.