Uploaded image for project: 'Batch Import Application'
  1. Batch Import Application
  2. BATCHIMP-34

An Import error appears when a field of the source data file contains a double quote followed by a line break

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4
    • 2.2
    • API
    • None
    • Unknown

    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

          Activity

            People

              lucaa Anca Luca
              mouhb Mohamed Boussaa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: