Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12255 closed bug (worksforme)

"deferred.then()" doesn't return object has resolve

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:


Hello. "deferred.then()" doesn't return object has method "resolve" from version 1.8.0. It is too difficult for me to debug the source. Could you check it out? Have a nice day!

Change History (4)

comment:1 Changed 10 years ago by dmethvin

Owner: set to anonymous
Status: newpending

Hello. deferred.then() seems to work 1.8.0. It is too difficult for me to create a test case. Could you make one on jsfiddle.net? Have a nice day!

comment:2 Changed 10 years ago by anonymous

Status: pendingnew

Thanks to respond. I am sorry test case is late.


Good bye.

comment:3 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed

In jQuery 1.8, .then() returns a new promise and not the original Deferred.


You should store the original Deferred and resolve that.


comment:4 Changed 10 years ago by jaubourg

Or, alternatively, use done and fail that are still returning the current object.

Note: See TracTickets for help on using tickets.