Closed Bug 737054 Opened 12 years ago Closed 12 years ago

Statistics dashboard - "No data available" message is missing from Addons Downloaded section.

Categories

(addons.mozilla.org Graveyard :: Statistics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vcarciu, Assigned: spasovski)

References

()

Details

Attachments

(1 file)

Prerequisites:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

Steps to reproduce:
1.Go to global statistics dashboard and select for last 7 days : https://addons-dev.allizom.org/z/en-US/statistics/addons_in_use/?last=7
2.Select the "Addons Downloaded" section : https://addons-dev.allizom.org/z/en-US/statistics/addons_downloaded/?last=7

Expected results:
There should be a message saying "No data available" because we dont have any data for last 7 days.

Actual results:
No message displayed.

Please see the screencast for this issue : http://screencast.com/t/NUWZVSvEQj
Assignee: nobody → dspasovski
Target Milestone: --- → 6.4.7
The global stats queries are all SQL, so it's not an issue of forgetting to index the stats. I suspect something with the JSON views has gone awry?
OS: Windows 7 → All
Priority: -- → P1
Hardware: x86_64 → All
Summary: Statistics dashboard - "No data available" message is missing from Addons Downloaded section. → Statistics are missing from the graph and CSV table
Summary: Statistics are missing from the graph and CSV table → Global add-on statistics are missing from graph and CSV table
Severity: normal → major
done: https://github.com/mozilla/zamboni/commit/c9b6293
Severity: major → normal
Status: NEW → RESOLVED
Closed: 12 years ago
OS: All → Windows 7
Priority: P1 → --
Hardware: All → x86_64
Resolution: --- → FIXED
Summary: Global add-on statistics are missing from graph and CSV table → Statistics dashboard - "No data available" message is missing from Addons Downloaded section.
The issue is still reproducible for Collections statistic pages :https://addons-dev.allizom.org/en-US/firefox/collections/dspasovski/webdeveloper/statistics/?last=30

NOTE: You have to be contributor or owner for a collection in order to see statistics button.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This works for me now, likely because the collection stats are now showing the right data as expected.

Reopen if you can still reproduce.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → WORKSFORME
The original scenario is still reproducible. There should be a "No data available" message for  https://addons-dev.allizom.org/z/en-US/statistics/addons_downloaded/?last=7 

Please compare with https://addons-dev.allizom.org/z/en-US/statistics/addons_in_use/?last=7 to see the correct behavior.

NOTE: The collection stats are now available.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
This wasn't really an issue since the graph simply had 0-values, which are legit. I've made it easier to notice this however by raising the Y-Axis legend's 0-line in cases where the chart view contains values which sum up to 0.

done: https://github.com/mozilla/zamboni/commit/35b10fa
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Verified as fixed.
Status: RESOLVED → VERIFIED
Attached image Postfix Screenshot.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: