Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 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:


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


Change History (2)

comment:1 Changed 12 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 12 years ago by anonymous

Unsurprisingly the same problem affects .load()

Note: See TracTickets for help on using tickets.