Skip to content

CSVHandler parseCSV() breaks on quoted fields with commas #71

@aliAljaffer

Description

@aliAljaffer

As a developer
I want proper CSV parsing that handles quoted fields
So that CSV files are parsed correctly

Current Behavior

Naive split on commas breaks fields like "Smith, John".

Location: src/java/CSVHandler.java line 14

Expected Behavior

Handle CSV quoting rules properly.

Acceptance Criteria

  • Use proper CSV parsing library (OpenCSV)
  • Handle quoted fields with commas
  • Handle escaped quotes
  • Add test with complex CSV

Example Issue

name,address
"Smith, John","123 Main St"

Gets split incorrectly into 3 fields instead of 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdata-processingData processing issuesjavaJava code issuesuser-storyUser story format issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions