YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2528128 (closed enhancement)

Reporter


Christopher Armstrong
Opened: 07/28/09
Last modified: 09/29/09
Status: closed
Type: enhancement
Resolution: fixed

Owner


Jenny Han Donnelly
Target Release: 3.0.0 GA
Priority: P3 (normal)
Summary: datasource.function doesn't allow specifying a failure instead of success
Description:

It'd be nice if datasource.function could handle exceptions from the function and cause the datasource's failure callback to be invoked in this case.

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

Change History

Jenny Han Donnelly

YUI Developer

Posted: 08/6/09
  • location changed to Library Code
  • milestone changed to 3.0.0 GA
  • priority changed to P3 (normal)
  • status changed from new to accepted

Jenny Han Donnelly

YUI Developer

Posted: 08/7/09
  • status changed from accepted to checkedin

Jenny Han Donnelly

YUI Developer

Posted: 09/22/09

[fix bug #2528128] Catch DataSource.Function exception and fire error event.

Commit 67d495321430fdeb8de58d8d809035164a91d45a
http://github.com/yui/yui3/commit/67d495321430fdeb8de58d8d809035164a91d45a

George

YUI Developer

Posted: 09/29/09
  • resolution changed to fixed

George

YUI Developer

Posted: 09/29/09
  • status changed from checkedin to closed