Closed Bug 417962 Opened 18 years ago Closed 16 years ago

[IE7] JavaScript error switching to non-summary graph view

Categories

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

x86
Windows Vista
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
4.x (triaged)

People

(Reporter: bugzilla-mozilla-20000923, Unassigned)

References

()

Details

(Whiteboard: [timeplot])

Attachments

(1 file)

Line: 237 Char: 13 Error: 'plotSelection.summary.downloads.availableDates' is null or not an object I'm sorry that IE doesn't provide the source file for the error, but it shouldn't be hard to figure out from the error. The drop-down works (although it's not horizontally aligned correctly) but upon selecting any item other than "Summary", you get the above error (with slightly different names in the middle part).
Indeed, some debugging puts the error at: https://preview.addons.mozilla.org/js/stats/plots.js @ line 236/238 The problem is that plotSelection.summary.downloads and plotSelection.summary.updatepings are undefined. If I set both to {} at the point the error occurs, the graph then appears to function happily for the most part. It actually looks like plotSelection.* are all broken when it arrives there, as each property seems to be an object (e.g. plotSelection.summary is an object) but none of them have any (enumerable) properties. I got a bit lost in the code, though, and didn't find where, when or why they have no data. :(
Target Milestone: --- → 3.x (triaged)
Severity: normal → trivial
Priority: -- → P5
This is replaced by highcharts on the new stats pages (a couple months away)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Whiteboard: [timeplot]
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: