Engineering / ENG-1597
People import: detect a tab separator from the header row
Description
Parcelwise (SUP-1076). The import works out , or ; from the header row (since SUP-1043), but not tabs. Parcelwise's HR system exports tab-separated files with a .csv name, so every row fails with "Expected 6 columns, found 1".
Steps to reproduce
- A file with a tab-separated header and rows, named people.csv.
- People › Import, dry run.
Expected: rows read. Actual: every row refused.
Fix
Detect tabs from the header row as well.
Linked issues
- relates to SUP-1076 Parcelwise: import rejects the HR system's export ("Expected 6 columns, found 1") Done
Out with today's release. Parcelwise's file dry-runs clean.