DumbAssets icon indicating copy to clipboard operation
DumbAssets copied to clipboard

Fix CSV import for quoted tags

Open abiteman opened this issue 1 year ago • 2 comments

Fix CSV parsing to correctly handle quoted fields, especially for tags, preventing column misalignment and parsing errors.

Previously, the CSV import used naive comma-splitting, which failed for quoted fields containing commas (e.g., "tag1,tag2"). This resulted in column misalignment and incorrect data parsing, causing errors like 'Name is required' when commas appeared in earlier columns. This PR implements a proper CSV parser on the server to correctly handle quoted fields and ensures tags are parsed as intended from quoted, comma-separated strings.

abiteman avatar Jul 04 '25 12:07 abiteman

Bugbot run

abiteman avatar Jul 04 '25 12:07 abiteman

✨ No issues found! Your code is sparkling clean! ✨

Need help? Join our Discord for support!
https://discord.gg/qEjHQk64Z9

recurseml[bot] avatar Jul 17 '25 03:07 recurseml[bot]