Bug Tracker

Modify

Ticket #10348 (closed bug: duplicate)

Opened 20 months ago

Last modified 20 months ago

Ajax "deferred" error ?

Reported by: froddy Owned by:
Priority: high Milestone: None
Component: deferred Version: 1.6.2
Keywords: Cc:
Blocking: Blocked by:

Description

I was testing ajax calls to my json web service (.net), and encountered the following error, when intentionally specifying an incorrect name for my web method. This error also occurs when attempting to call (via ajax) a web method, and the web server (IIS) has been intentionally stopped (i.e. is turned OFF) – for testing purposes.

The problem is that an error is NOT returned to my (deferred) error handler, but rather I get the following JavaScript error:

"Microsoft JScript runtime error: Exception thrown and not caught"

… and a break point at line 1011, of the jquery file “jquery-1.6.2.js”, viz.:

finally {

fired = [ context, args ]; firing = 0;

}

Change History

comment:1 Changed 20 months ago by timmywil

  • Priority changed from undecided to high
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to deferred

comment:2 Changed 20 months ago by timmywil

Duplicate of #9033.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.