Skip to main content

Bug Tracker

Side navigation

#7363 closed bug (invalid)

Opened October 31, 2010 07:39PM UTC

Closed October 31, 2010 09:28PM UTC

Last modified November 01, 2010 07:35AM UTC

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

Attachments (0)
Change History (2)

Changed October 31, 2010 09:28PM UTC by snover comment:1

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.

Changed November 01, 2010 07:35AM UTC by anonymous comment:2

Unsurprisingly the same problem affects .load()