Closed Bug 511927 Opened 15 years ago Closed 15 years ago

[IE7][Timeplot] IE Javascript errors break all add-on statistics plots

Categories

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

x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: smccammon, Assigned: smccammon)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Trailing commas fix (obsolete) — Splinter Review
The attached patch fixes trailing commas in the source and json data. This gets the Summary, Downloads, and ADU plots working.

Add-on Version, Application, Add-on Status, and Operating System plots still fail with an uncaught exception:

Line: 387 (simile/amo-bundle.js)
Error: Exception thrown and not caught
Attachment #395883 - Flags: review?(clouserw)
Attachment #395883 - Flags: review?(clouserw) → review+
I will hold off on this patch, as switching from $listing->json() to $javascript->object() could have some subtle side effects.

More investigation and testing is needed.
Comment on attachment 395883 [details] [diff] [review]
Trailing commas fix

thanks
Attachment #395883 - Flags: review+
A safer approach to v1: rather than abandon $listing->json(), this patch fixes it so that it no longer outputs trailing commas. IE gets a little bit of loving, with very little regression risk for everything else.

Test with: /statistics/json/{ADDON_ID}/summary
Assignee: nobody → smccammon
Attachment #395883 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #397410 - Flags: review?(clouserw)
Attachment #397410 - Flags: review?(clouserw) → review+
Trailing commas fixed in r50589.

Timeplot still throws an exception when viewing any of the detailed ADU plots.

-> P4 at the most.
Priority: -- → P4
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
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: