dbUnit
  1. dbUnit
  2. DBUNIT-1

CSV Export creates unnecessary space in column names

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Export to CSV creates wrongly formatted headers, inserting a space after commas, e.g.:

      id, external_id, background, name, start, game_model_id

      This causes some problems:

      • modifying files with CSV-compliant editors, like OpenOffice Calc, Microsoft Excel, CSVed, etc.;
      • import of data fails.

      Workaround: manually fix first line of CSV files, removing unnecessary spaces, e.g the line above will be:

      id,external_id,background,name,start,game_model_id

      This should be a very quick but very useful fix!

      1. col_locations.csv
        0.2 kB
        Dimitri De Franciscis

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Roberto Lo Giacco
            Reporter:
            Dimitri De Franciscis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: