Closed Bug 943847 Opened 11 years ago Closed 11 years ago

Load button on correlations tab throws JS error

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: espressive, Assigned: espressive)

Details

(Whiteboard: [QA+])

Attachments

(2 files)

When a user clicks on the 'Load' button on the correlations tab (report/list) and there is not data returned, it silently fails with an error in the console: TypeError: data is null
TEST CASE --------- Navigate to report/list and click on the correlations tab. Click on any of the two 'Load' buttons on this tab, the following should now happen: 1) On click the load button is replaced by a spinner with Loading text 2) If results are returned, it will replace the spinner with the content 3) If no data is found, the spinner will be replaced by a message stating: 'No correlation data found.'
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/71e45d06e231e037e63dfd08e8bfea7f5e5a1603 Fix Bug 943847, handle cases where data is null and add spinner on click https://github.com/mozilla/socorro/commit/e99b7f975297046d08372bcd55f6972e679b552d Merge pull request #1695 from ossreleasefeed/bug943847-load-button-on-correlations-tab-throws-js-error Fix Bug 943847, handle cases where data is null and add spinner on click
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [QA+]
Target Milestone: --- → 68
retargeting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: