#18792 closed defect (fixed)
CSVWriter of EnhancedDatagrid has a bug with how it formats cells
Reported by: | Jared Jurkiewicz | Owned by: | Evan |
---|---|---|---|
Priority: | high | Milestone: | 1.11 |
Component: | DojoX Grid | Version: | 1.8.10 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
CSVWriter of EnhancedDatagrid? has a bug with how it formats cells. Specifically it is this code:
func = this._formatCSVCell;
..
row.push(func(this._getExportDataForCell(arg_obj.rowIndex,
result.search(/[" \t\r\n]/) >= 0){ ... ) will resolve to (It will now resolve to window) as it is now an unattached function scope. It needs to be func = lang.hitch(this, this._formatCSVCell); |
Without fixing this, any content with a , in it will fail as it won't escape the ,. We had a customer hit this issue.
Patch forthcoming.
Change History (8)
comment:1 Changed 5 years ago by
Component: | General → DojoX Grid |
---|---|
Owner: | set to Evan |
Priority: | undecided → high |
comment:2 Changed 5 years ago by
Description: | modified (diff) |
---|---|
Milestone: | tbd → 1.11 |
comment:3 Changed 5 years ago by
comment:8 Changed 5 years ago by
Version: | 1.10.4 → 1.8.10 |
---|
Note: See
TracTickets for help on using
tickets.
Pull request for this: https://github.com/dojo/dojox/pull/232