Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6802 closed defect (fixed)

CSVStore fails on line breaks

Reported by: guest Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.2
Component: DojoX Data Version: 1.1.0
Keywords: Cc: shawn@…
Blocked By: Blocking:

Description

Using the CSVStore I have come across a situation in which, is there is a line break in the data of a field, the CSVStore fails.

The example data I used was the following:

Title, Year, Producer
"City 
of God", 2002, Katia Lund
Rain,, Christine Jeffs

In this example the field 'City of God' contains a linebreak but it is quoted so it should appear as one field.

Attachments (2)

CsvStore.js (19.7 KB) - added by Jared Jurkiewicz 11 years ago.
Updated CsvStore? (entirety) with a fix for reporter to test.
dojox.data.CsvStore_20080523.patch (5.6 KB) - added by Jared Jurkiewicz 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by Jared Jurkiewicz

Attachment: CsvStore.js added

Updated CsvStore? (entirety) with a fix for reporter to test.

comment:1 Changed 11 years ago by Jared Jurkiewicz

I believe I have fixed the issue. Reporter, can you test with the above CsvStore? in your environment? It works in mine, but I would like to test with yours as well to be safe. If it looks good for you, I'll generate a proper patch and commit it into dojo.

comment:2 Changed 11 years ago by Jared Jurkiewicz

Status: newassigned

Changed 11 years ago by Jared Jurkiewicz

comment:3 Changed 11 years ago by Jared Jurkiewicz

(In [13787]) Updated store to fix newline issue. refs #6802 \!strict

comment:4 Changed 11 years ago by Jared Jurkiewicz

Resolution: fixed
Status: assignedclosed

(In [13788]) Tweak to the testcase. fixes #6802 \!strict

comment:5 Changed 11 years ago by bill

Milestone: 1.2

marking tickets closed in the last three months w/blank milestone to milestone 1.2.

Note: See TracTickets for help on using tickets.