Skip to main content

Bug Tracker

Side navigation

#970 closed bug (fixed)

Opened February 16, 2007 08:01AM UTC

Closed July 20, 2007 06:58PM UTC

Last modified July 20, 2007 06:59PM UTC

custom timeout does not set error message when timeout occurs

Reported by: anonymous Owned by:
Priority: major Milestone: 1.1.4
Component: ajax Version: 1.1.3
Keywords: timeout Cc:
Blocked by: Blocking:
Description

When using the custom 'timeout' settings for an ajax request as in $.ajax({timeout:1000}) there is no exception sent in error() handler (e==null). The message sent in error (second parameter) is just a flat "error" with no relevance to what just hapened (timeout).

Attachments (1)
  • ajax-status-timeout.patch (1.2 KB) - added by skarkkai July 18, 2007 08:31PM UTC.

    The second parameter of ajax error callback is "timeout" when error is due to a timeout

Change History (4)

Changed March 24, 2007 06:08PM UTC by john comment:1

milestone: → 1.1.3
need: → Test Case
version: → 1.1.2

Changed March 25, 2007 10:55AM UTC by joern comment:2

need: Test CasePatch

Added test in [1584].

Changed July 20, 2007 06:58PM UTC by john comment:3

milestone: 1.1.31.1.4
priority: minormajor
resolution: → fixed
status: newclosed
version: 1.1.21.1.3

Fixed in SVN rev [2418].

Changed July 20, 2007 06:59PM UTC by john comment:4