#9704 closed defect (fixed)
dojox.data.CsvStore doesn't provide an abort() method
Reported by: | Stefan Bird | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX Data | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The dojo.data.api.Read fetch() method is supposed to return a request object that has an abort() method. The request object returned by CsvStore? doesn't, and therefore it doesn't fully implement the Read API.
Attachments (1)
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Milestone: | tbd → 1.4 |
---|
Note: See
TracTickets for help on using
tickets.
It actually does, but the abort function does not appear until after the CsvFile? had been loaded. Similar issue that IFRS had some time ago. The fix is also the same, as they're all based on the simpleFetch pattern and as such can use the same intsertion logic in their _fetchItems implementation to attach on an abort function that will call the xhr cancel if called.