Ticket #5886 (closed defect: wontfix)

Opened 6 months ago

Last modified 5 months ago

Deferred docs say that a "CancelledError" is returned but instead a "Deferred Cancelled" is returned

Reported by: ptwobrussell Owned by: dmachi
Priority: normal Milestone: 1.1
Component: Core Version: 1.0
Severity: normal Keywords:
Cc:

Description

Maybe this is a documentation error, maybe it's a coding error. I don't know. But I do know that the inline documentation for Deferred says that a CancelledError? will be returned if you call cancel() and in reality a "Deferred Cancelled" is returned. Easy fix either way, I suppose. See Deferred.js (as or r12491) for details.

Change History

Changed 6 months ago by dylan

  • owner changed from anonymous to dmachi
  • milestone set to 1.1

Changed 5 months ago by dmachi

  • status changed from new to closed
  • resolution set to wontfix

There isn't really any such thing as a CancelledError?...this just sends a Error with that as the text. It also sets a dojoType="cancel" property on the error object. This is basically how it is distinguished now. We can look at doing something differently if people feel strongly about it.

Note: See TracTickets for help on using tickets.