Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13663 closed bug (notabug)

In the calls order "deferred.then(...).fail(...)" the fail callback doesn't receive arguments

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:


In the calls chain "deferred.then(...).fail(...)" the fail callback doesn't receive arguments, but the chain "deferred.fail(...).then(...)" works correct.

The same with "done" and "progress" methods.


Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

The .then() creates a *new* promise, I suspect that is what you are trying to describe but there wasn't a test case. This is documented, http://api.jquery.com/deferred.then/ so please followup questions to a forum.

Note: See TracTickets for help on using tickets.