Closed
Bug 1323822
Opened 9 years ago
Closed 9 years ago
signatureData.top_words undefined
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: marco)
Details
Attachments
(1 file)
See https://crash-stats.allizom.org/report/index/714344b0-d0b2-4bf8-ab41-de93f2161215#tab-details
(Note! This might expire soon)
The error happens here:
https://github.com/mozilla/socorro/blob/12bd5cfe8ecd1f11ac945c99377f17807f68fc06/webapp-django/crashstats/crashstats/static/crashstats/js/socorro/correlation.js#L178
I printed the `var data` variable as JSON and it looks like this:
https://gist.githubusercontent.com/peterbe/99ae80b1665148ab134012405c5630f2/raw/27f3b51e0f552ad31ffeb227d162d63c070b8bbf/data.json
A simple solution would be to wrap that ".top_words" in an if statement and only include it if it's there but that might not be the right solution.
| Reporter | ||
Comment 1•9 years ago
|
||
Marco,
Can you take a look at this one?
Flags: needinfo?(mcastelluccio)
| Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Peter Bengtsson [:peterbe] from comment #0)
> A simple solution would be to wrap that ".top_words" in an if statement and
> only include it if it's there but that might not be the right solution.
That's the right solution, as the top words might be missing sometimes.
I was sure I had done that already :/
I'll take care of this ASAP.
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Flags: needinfo?(mcastelluccio)
| Assignee | ||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/67dfddc2f4d1698b529bc216217e2b58677b98ce
Fixes bug 1323822 - Add top_words to the results only when there are top words (#3636)
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•