ajax errors show 'following errors occured' or a big dump of the html source for the oops page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
If the internet connection dies during AJAX submission, or the permission is denied then the client side AJAX flashes up a useless, and uninformative error box with no guidance for the user about what they should /do/ about it. There are side-effects:
1. The user gets frustrated, puzzled, annoyed (needs reassurance)
2. There is no method (without an OOPS number) to report to the Launchpad devs
3. The user loses their input data effort since they can't resubmit it (needs explanation)
The error dialogues are completely opaque to the user, eg.:
"The following errors were encountered: (,'displayname'
where a messages such as:
"Connection error"
"Unable to connect to Launchpad"
or a message indicating server failure (with the returned OOPS number) might be preferable. The message also needs to indicate what the user should /do/. Eg. reconnect and resubmit, report the bug (with direct link to malone/+filebug with subject already filed out as OOPS).
In the case of debugging bug #634847 the inability to get detailed or OOPS information back from the users who were seeing it cost a lot of research time. If the client side Javascript receives an OOPS or other fatal error from the server during an AJAX submission it should deliver this information to the user so that it can be reported.
At a minimum the OOPS should be displayed to the user with the same guidance as the main website error box ("please report this to...").
affects: | launchpad → lazr-js |
Changed in lazr-js: | |
importance: | Undecided → Low |
status: | New → Triaged |
summary: |
- Uninformative error message + Uninformative AJAX error messages: provide OOPS and "next step" pointer |
description: | updated |
description: | updated |
summary: |
- Uninformative AJAX error messages: provide OOPS and "next step" pointer + Bad AJAX error messages: provide OOPS and "next step" pointer |
summary: |
- Bad AJAX error messages: provide OOPS and "next step" pointer + ajax errors show 'following errors occured' or a big dump of the html + source for the oops page |
tags: | removed: dhrb |
I'm adding a malone task to this bug, since we have a general problem with the AJAX widget error reporting on malone. Bugs continue to come up from time to time about this. My thinking is that this will be a general "better error reporting" bug, and once we have the infrastructure in lazr-js, we can open bugs about any remaining specific cases after this work is done.