Closed Bug 1112462 Opened 10 years ago Closed 8 years ago

Error on ID Loading Bar

Categories

(Content Services Graveyard :: Interest Dashboard, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lconnolly, Unassigned, Mentored)

Details

(Whiteboard: [lang=js])

Attachments

(1 file)

Noticed this error on the Interest Dashboard loading bar. Referring to the "NaN%" in the screenshot. See attached.
Thanks for filing, Lauren. Did the loading bar get stuck or did it disappear after you saw this? Does refreshing make it disappear? Did this appear when you switched away from the interest dashboard tab and switched back? Or when you opened it for the first time? Any more details on when/how this appeared would be great, thanks!
Flags: needinfo?(lconnolly)
Upon opening the interest dashboard tab, the loading bar got stuck and did not disappear until I refreshed the page.
Flags: needinfo?(lconnolly)
Mentor: msamuel
Whiteboard: [lang=js]
I would like to work on this bug. Can you provide some other pointers ?
This bug is a little tricky. I suspect that the culprit is a potential division by 0 here: https://github.com/mozilla/interest-dashboard/blob/master/data/about-you.js#L73 You probably want to start by reproducing the problem by finding out when/why $scope.daysLeftStart would be set to 0. Perhaps this happens because we attempt to fetch more data and none exists. Or perhaps it's because we do not set/reset the value of $scope.daysLeftStart. You'll need to do a bit of debugging here. Once you're able to reproduce the bug and have identified a cause, the solution may be as straight forward as resetting a variable or not displaying the progress bar when nothing has been fetched.
Sorry, this project is no longer active. You can find other js bugs here: https://www.joshmatthews.net/bugsahoy/?js=1
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: