Opened 14 years ago
Closed 14 years ago
#2792 closed defect (fixed)
dojo.io.bind: XMLHTTPTransport eats errors with evaling json response
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | IO | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In BrowserIO.js, around line 287 (for the 0.4 branch code), there is a try/catch block around evaling the response to make a json object. The catch code prints some debug messages and then keeps going, calling the load callback. It should call the error callback instead.
Change History (6)
comment:1 Changed 14 years ago by
Milestone: | → 0.4.3 |
---|
comment:2 Changed 14 years ago by
Owner: | changed from alex to James Burke |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|
comment:5 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 Changed 14 years ago by
Milestone: | 0.4.4 → 0.9 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Fixed in 0.9, not likely to revisit for 0.4 branch, since it is a behavior change.
Note: See
TracTickets for help on using
tickets.
(In [8513]) Fixes #2792: malformed json eval error was not sent to error callback.