Opened 9 years ago
Closed 8 years ago
#15890 closed defect (fixed)
[regression] Using JSONP (with ItemFileReadStore and xhrScriptPlugin) fills console with errors
Reported by: | tonyerwin | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.1 |
Component: | IO | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I'm a member of the Maqetta team. In the attached sample, when I call fetch on my data store the data is successfully retrieved. However, the dev console in the browser gets filled with the same exception over and over and over again:
Uncaught TypeError?: Object frame0.8407082187477499 has no method 'getElementById' dojo.js:15 dom.byId dojo.js:15 _16 lib/dojo/dojo/request/script.js:24 _12 lib/dojo/dojo/request/script.js:48 _578.forEach dojo.js:15 _1e lib/dojo/dojo/request/script.js:47 _516
This used to work in Dojo 1.7.
Reproducible in both Chrome & FireFox? (Mac).
Attachments (2)
Change History (8)
Changed 9 years ago by
Attachment: | jsonpProblemTestCase.html added |
---|
comment:1 Changed 9 years ago by
Owner: | changed from Kris Zyp to Bryan Forbes |
---|---|
Status: | new → assigned |
comment:2 Changed 9 years ago by
Component: | Data → IO |
---|---|
Milestone: | tbd → 1.8.1 |
Summary: | Using JSONP (with ItemFileReadStore and xhrScriptPlugin) fills console with errors → [regression] Using JSONP (with ItemFileReadStore and xhrScriptPlugin) fills console with errors |
Started in [28744].
comment:3 Changed 8 years ago by
Priority: | undecided → blocker |
---|
comment:6 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The code in _addDeadScripts wasn't checking the old ioArgs, so the dynamic change to it wasn't getting picked up. I have fixed it and backported the fix to the 1.8 branch.
test case