Description
To reproduce :
Use the batch import Application to import a csv file witch contains a field with a value that contains a double quote followed by a line break. Find attached an example of a csv file with data that reproduces the issue: data.csv . (Note that, the CSV separator for the data file is ยง)
Actual results: An error is returned and the data is not imported. See the error stack trace error.txt .
Expected results: The data is correctly imported.
After investigation I find that the issue is related to opencsv API (com.opencsv:opencsv), see the bug here. Note that, the version of opencsv actually used for batch import API is 3.10.
Note that, an upgrade of opencsv to version 4.5 fixed the issue.
Attachments
Issue Links
- is related to
-
BATCHIMP-44 Upgrade to OpenCSV 4.5
- Closed