Ticket #2529064 (closed defect)

Reporter


Jenny Donnelly
Opened: 07/16/10
Last modified: 09/7/10
Status: closed
Type: defect
Resolution: fixed

Owner


Jenny Donnelly
Target Release: 3.2.0
Priority: P3 (normal)
Summary: Better DataSource error handling
Description:

The "error" event doesn't consistently fire, and the failure callback doesn't reliably execute.

Type: defect Observed in Version: 3.1.1
Component: DataSource Severity: S3 (normal)
Assigned To: Jenny Donnelly Target Release: 3.2.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Jenny Donnelly

YUI Developer

Posted: 07/16/10
  • status changed from accepted to checkedin

Jenny Donnelly

YUI Developer

Posted: 07/16/10
  • resolution changed to fixed

[fix #2529064] Better DataSource error handling.

Always fire "error" event by firing it from issueCallback if
e.error or e.response.error exist. Pass through all errors to
e.error and/or e.response.error. Execute failure callback if
e.error or e.response.error exist.
View Commit:

Jenny Donnelly

YUI Developer

Posted: 07/16/10

[fix #2529064] Better DataSource error handling.

Always fire "error" event by firing it from issueCallback if
e.error or e.response.error exist. Pass through all errors to
e.error and/or e.response.error. Execute failure callback if
e.error or e.response.error exist.
View Commit:

Jenny Donnelly

YUI Developer

Posted: 07/21/10

[fix #2529064] DS.Get pass through Get error.
View Commit:

Jenny Donnelly

YUI Developer

Posted: 07/23/10

[fix #2529064] DS.Get pass through Get error.
View Commit:

George

YUI Developer

Posted: 09/7/10
  • status changed from checkedin to closed