Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnumeric
gnumeric
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 375
    • Issues 375
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnumericgnumeric
  • Issues
  • #397

Closed
Open
Opened Apr 09, 2019 by Jim Avera@jim.avera

(REGRESSION) ssconvert CSV reader corrupts multi-line fields

Note: This problem occurs in ssconvert version '1.12.43' but not in '1.12.28'

If ssconvert reads a CSV file with a "quoted multi-line field", and it is not the last field in a row, the remainder of the row is corrupted.

STEPS TO REPRODUCE

1. Download attached file "in.csv"
2. ssconvert '--export-type=Gnumeric_stf:stf_assistant' /tmp/in.csv /tmp/out.csv
3. cat /tmp/out.csv

RESULTS

The field(s) following the multi-line field are corrupted. The input file contained

"First line
Second line
Third and last line","Second Field",Third Field

and the output file contained

"First line
Second line
Third and last line"S"econd Field"",Third Field"

Analogous corruption occurs if converting .csv to .xls

in.csv

Edited Apr 09, 2019 by Jim Avera
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnumeric#397