Intermittent error prevents ProductDashboard from working

RESOLVED FIXED

Status

()

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: dylan, Assigned: glob)

Tracking

Production

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
There appears to be a bug in ProductDashboard that causes javascript variable PD to not be defined before use -- possibly a race condition, as even when it fails "PD" is set in the javascript console.

Thanks to @bitfalls for bringing this to our attention.
(Assignee)

Updated

4 years ago
Assignee: nobody → glob
(Assignee)

Comment 1

4 years ago
Created attachment 8604108 [details] [diff] [review]
1163575_1.patch

- move PD initialisation into <head>
Attachment #8604108 - Flags: review?(dylan)
(Reporter)

Comment 2

4 years ago
Comment on attachment 8604108 [details] [diff] [review]
1163575_1.patch

Review of attachment 8604108 [details] [diff] [review]:
-----------------------------------------------------------------

r=dylan

Without the patch, I was able to trigger the error 5 out of 6 attempts (starting from a clear cache).
With the patch, I was not able to trigger the error in more than 6 attempts. High confidence that this works.
Attachment #8604108 - Flags: review?(dylan) → review+
(Assignee)

Comment 3

4 years ago
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   f7515b3..1ad9a82  master -> master
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.