Closed Bug 484272 Opened 15 years ago Closed 15 years ago

Breakdown details for the Firebug stats dashboard do not work

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dre, Assigned: wenzel)

References

()

Details

(Whiteboard: [firebug-p2])

Attachments

(1 file)

When you hit the page, you see the summary trend lines, but if you try to change to Add-on Versions or Applications, etc, it does not display the collection of filters at the top.
The following error is logged in the error console:

Error: plotSelection.summary.updatepings is undefined
Source File: https://addons.mozilla.org/js/stats/plots.js
Line: 265

Oddly, two other dashboards I tried work fine (Lightning and Spectator)
OS: Mac OS X → All
Hardware: x86 → All
Is this bug visible to the folks who can fix it? We are about to release Firebug 1.4.0 and we'd like to have data on adoption.
Whiteboard: [firebug-p2]
yeah, this has been killing us during the beta cycle. Need better data!

john, this should be visible and in the house of the people who can fix this.
we'll look at it in the next cycle
Target Milestone: --- → 5.0.8
Assignee: nobody → fwenzel
Priority: -- → P3
Attached patch Patch, rev. 1Splinter Review
Meh, broken JSON. JSONlint.com does still not consider the stats dashboard's JSON valid, but it should be parsed right now. Actually making all of that JSON *valid* is another bug (for instance, trailing commas in objects are invalid in JS).
Attachment #389564 - Flags: review?(clouserw)
Is any of that JSON the data that we serialize and upload into the update_counts table? Or is it intermediate data built by the AMO webserver?
The data in the DB was not invalid (or rather, it was, but that's not your fault). It is not escaped properly on our end, rendering an invalid JSON response though.
Escaping issue. Hiding from too curious eyes for now.
Group: mozilla-confidential
Status: NEW → ASSIGNED
Attachment #389564 - Flags: review?(clouserw) → review+
Comment on attachment 389564 [details] [diff] [review]
Patch, rev. 1

Thanks Fred!  good catch
r30102.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
I am wondering what it means that this bug is marked FIXED? The dashboard still does not work.
(In reply to comment #11)
> I am wondering what it means that this bug is marked FIXED? The dashboard still
> does not work.

It's fixed on https://preview.addons.mozilla.org/en-US/firefox/statistics/addon/1843 which mirrors the trunk of our repository.  The fix will be pushed live at our next scheduled push (currently targeting next wednesday).
You might like to look at the page you posted before you push the fix.
(In reply to comment #13)
> You might like to look at the page you posted before you push the fix.

I've seen it and am prepared to push the fix.
Blocks: 505651
(In reply to comment #13)
> You might like to look at the page you posted before you push the fix.

If you're saying that the page isn't right, then I should point out that preview doesn't get stats. (no one is downloading or updating from preview) Thus the summary view is empty and the other graphs drop off a cliff after the most recent dump from production mid last month. Makes testing fixes like this harder.
No longer blocks: 505651
(In reply to comment #14)
> I've seen it and am prepared to push the fix.

When?
We've already shipped 5.0.8; this should be fixed on https://addons.mozilla.org/en-US/firefox/statistics/addon/1843.  Reopen if not, thanks.
Since this has shipped, it's not confidential anymore.
Group: mozilla-confidential
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

Created:
Updated:
Size: