Closed Bug 487866 Opened 15 years ago Closed 15 years ago

Caught exception: undefined when using "Group by: Day" in conjunction with "Active Daily Users" dropdown option

Categories

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

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: smccammon)

References

()

Details

Attachments

(3 files)

STR:

1. Load https://preview.addons.mozilla.org/en-US/statistics/addon/8585
2. Choose "Active Daily Users" from the dropdown
3. Choose the "Group by: Day" option

Caught exception: undefined

Details: [Exception... "An invalid or illegal string was specified"  code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"  location: "https://preview.addons.mozilla.org/js/simile/amo-bundle.js Line: 8237"]

Screencast: http://screencast.com/t/iWBv5Y5x3f
I think this is fixed in the meantime.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reopening; see the newly attached image.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
working for me
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
If this is still a bug please give us steps to reproduce.  I tried in an FF nightly.
I wasn't able to consistently reproduce the error in dev so this may be hard to test. The exception seems to be the result of a divide by zero when there is only 1 data point in the csv.

The patch comes directly from the latest timeplot source. We really need to update our modified copy, but that isn't trivial and is best saved for a new bug in itself.
Attachment #396614 - Flags: review?(clouserw)
Comment on attachment 396614 [details] [diff] [review]
Check for divide by zero fix

please commit
Attachment #396614 - Flags: review?(clouserw) → review+
Fixed in r50136
Assignee: nobody → smccammon
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED with my original testcase; thanks guys, for taking this.
Status: RESOLVED → VERIFIED
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: