Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#7363 closed bug (invalid)

ajax() fails silently in callbacks -- "complete" callback never happens

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

karl suggested this belongs in the bug tracker, so here it is:

WRT ajax():

The optional "complete" callback does not seem to fire if an exception is thrown by the "success" or "error" callbacks.

Exceptions thrown by "success" or "error" callbacks DISAPPEAR SILENTLY if async:true (default option.)

This was on 1.4.2. I don't know if it continues to be true of 1.4.3, or the bleeding edge.

Please be sure to reply to this comment to let readers know in what version this bug is present or not present :)

http://api.jquery.com/jQuery.ajax/#comment-86962051

Change History (2)

comment:1 Changed 9 years ago by snover

Resolution: invalid
Status: newclosed

Thanks for the report, but this is not a jQuery bug. You are responsible for not managing any exceptions raised by your callback functions.

comment:2 Changed 9 years ago by anonymous

Unsurprisingly the same problem affects .load()

Note: See TracTickets for help on using tickets.