getodk / getodk/central

Perform CSV checks we do for Entity uploads for CSV form attachment uploads

Open
#696 1 comment 0 reactions 0 assignees View on GitHub
needs testing
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

Users sometimes upload badly-formatted CSVs as form attachments. In particular, they sometimes have rows with commas in values not escaped with quotes. Currently, they have to test their form to identify the issue. Central already performs some CSV validity checks for Entity uploads. Those would be valuable for form attachments as well.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the existing CSV validation used for Entity uploads, then trace the form attachment upload path to find where equivalent checks belong. Reuse the relevant checks for attachment uploads and verify that rows with unescaped commas are rejected before users need to test the form.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.