User Story #8008 (closed)
Opened 12 years ago
Closed 12 years ago
AJAX Error handling
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | Web | Keywords: | n.a. |
Cc: | atarkowska, cxallan | Story Points: | n.a. |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | 0.0d | Estimated Remaining Time: | n.a. |
Description
In fact, this is mostly done (should have created this ticket a while back) and is on branch https://github.com/will-moore/openmicroscopy/tree/ajax_helper
Currently we use $.ajaxError() to handle
- 404: Display dialog message "Not Found"
- 403: Refresh current location
- 500: Display feedback form in dialog (see screen-shot).
TODO:
- Handle any other errors? What is default behavior (if not 404, 403, 500)?
- Remove error handling from individual AJAX calls (if any).
- Decide what error handling we want in views.py (if any) See #7985
Attachments (1)
Change History (3)
Changed 12 years ago by wmoore
comment:1 Changed 12 years ago by agilo
- Status changed from new to accepted
Updated status, related task in progress
comment:2 Changed 12 years ago by atarkowska
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
AJAX Error 500 handling - feedback form.