Skip to main content

Bug Tracker

Side navigation

#13663 closed bug (notabug)

Opened March 26, 2013 07:23AM UTC

Closed April 01, 2013 09:02PM UTC

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

Reported by: GolubevS79@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

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.

http://jsfiddle.net/golubev/7WzUd/1/

Attachments (0)
Change History (1)

Changed April 01, 2013 09:02PM UTC by dmethvin comment:1

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.