Closed Bug 633333 Opened 14 years ago Closed 13 years ago

Javascript error in amo-bundle.js when changing Application chart filter on Statistics page

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: morac, Unassigned)

References

()

Details

Attachments

(1 file)

The following steps generate a JavaScript error under Firefox 3.6.13 and Minefield (also it doesn't work): 1. Go to any public (or private) statistics page such as https://addons.mozilla.org/en-US/statistics/addon/10 2. Click the drop down arrow and change from Summary to Application. 3. Click one of the predefined filters and change it to a different value (for example from Firefox 3.6.13 to 3.6.12). Expected Results: Filtered value should update on graph. Actual Results: Nothing happens and the following error shows up in the error console (also pops up as an alert in Firefox 3.6.13): Error: An invalid or illegal string was specified = NS_ERROR_DOM_SYNTAX_ERR Source file: https://static.addons.mozilla.net/js/simile/amo-bundle.js Line: 8255 This is only a problem when trying to change filters in the Application statistics. All the other charts work without any issue.
It's basically the same as above, but here's the full exception object value to be thorough: Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "https://static.addons.mozilla.net/js/simile/amo-bundle.js Line: 8255"]
with new statistics pages, no error are noticed in Error console: Tested with FF 7.0.1 and Nightly build 10.0a1 (2011-10-27) Steps: ======== - Load https://addons-dev.allizom.org/en-US/firefox/addon/adblock-plus/statistics/usage/applications/?last=90 - Click on different Firefox versions (filters) Result: No errors noticed in Error Console, graph is updated accordingly screencast: http://tinyurl.com/6hlrday Pls confirm, if you still see any errors. In case it's still reproducible paste the FF version
I don't have access to https://addons-dev.allizom.org, but going through the original steps, I no longer get an error, but it doesn't work. Changing a predefined filter simply removes said filter from the chart. Note that the chart displayed when going to https://addons.mozilla.org/en-US/statistics/addon/10 looks nothing like the chart displayed when going to https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/statistics/usage/applications/?last=90 I'm not sure how one even gets to the later link since choosing statistics for an add-on, goes to the former.
Statistics pages in this format (https://addons.mozilla.org/en-US/statistics/addon/10) are deprecated and only available while we transition to the new pages (https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/statistics/usage/applications/?last=90). Expect them to be removed in the near future. I think this bug is closed from comment 2.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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: