Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #8008 (closed)

Opened 8 years ago

Closed 7 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)

Screen shot 2012-02-06 at 13.19.16.png (170.3 KB) - added by wmoore 8 years ago.
AJAX Error 500 handling - feedback form.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by wmoore

AJAX Error 500 handling - feedback form.

comment:1 Changed 7 years ago by agilo

  • Status changed from new to accepted

Updated status, related task in progress

comment:2 Changed 7 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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.86697 sec.)

We're Hiring!