Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Import - correctly report validation error for timestamp #1263

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

jmilljr24
Copy link
Collaborator

🔗 Issue

✍️ Description

The validation error is correctly returned now. I also fixed the row index. Headers are skipped so the count was off by one.

Screenshot from 2024-12-16 06-15-31

📷 Screenshots/Demos

Copy link
Collaborator

@kasugaijin kasugaijin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove the validation for csv_timestamp on FormSubmission with this now? Alternatively, we could use a dummy value, but given it's datetime I am not sure how useful this might be.

EDIT: Oh nevermind...we want to show the error per your screenshot and enforce that header. Ok, I prefer this for now. We can test this with users and see if we need to handle anything differently.

@kasugaijin kasugaijin merged commit 270a5cc into main Dec 16, 2024
5 checks passed
@kasugaijin kasugaijin deleted the csv-minor-fixes branch December 16, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants