Opened 11 years ago

Closed 11 years ago

#13496 closed defect (fixed)

cannot read property 'onError' of undefined in dojo/data/util/simpleFetch

Reported by: rott Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.7
Component: Data Version: 1.7.0b1
Keywords: Cc: Chris Mitchell
Blocked By: Blocking:


In dojo/data/util/simpleFetch.js at line 43:

Uncaught TypeError?: Cannot read property 'onError' of undefined.

SVN rev 25877 from trunk

This can happen if no URL is specified for a See line 399 in dojox/data/XmlStore.js:

errorHandler(new Error("No URL specified."));

In my case, the error handler is _errorHandler function at line 42 in dojo/data/util/simpleFetch.js. Line 42-43:

var _errorHandler = function(errorData, requestObject){

Hence, requestObject is undefined in this flow.

Change History (1)

comment:1 Changed 11 years ago by Jared Jurkiewicz

Milestone: tbd1.7
Resolution: fixed
Status: newclosed

Fixed in [25878]

Note: See TracTickets for help on using tickets.