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

Combo list imports bad data from CSV #823

Open
fritosxii opened this issue Apr 13, 2023 · 0 comments
Open

Combo list imports bad data from CSV #823

fritosxii opened this issue Apr 13, 2023 · 0 comments
Assignees
Labels
Back-end This task involves back-end work Bug This issue prevents usability of feature Urgent This task should be completed soon

Comments

@fritosxii
Copy link
Contributor

Describe the bug
When importing a combo list record value, the validation for record data is failing for sub fields. This was confirmed when using improperly formatted date values. The value for the date sub field gets set to null, while the other sub field imports fine. Both sub fields are required in a combo list value and so it breaks other functionality.

To Reproduce
Steps to reproduce the behavior:

  1. Create combolist with a historic date field as one of the sub fields, and a simple text field for the other
  2. Create a csv import record with a bad date format like MM-DDYYYY (expected is YYYY-MM-DD)
  3. Import the record
  4. Visit the Form Records page for that Form

Expected behavior
The record should fail to import and be reported in the failed import report

@fritosxii fritosxii added Back-end This task involves back-end work Bug This issue prevents usability of feature Urgent This task should be completed soon labels Apr 13, 2023
@fritosxii fritosxii self-assigned this Apr 13, 2023
@fritosxii fritosxii added this to In Progress in Known bugs/issues Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back-end This task involves back-end work Bug This issue prevents usability of feature Urgent This task should be completed soon
Projects
Known bugs/issues
  
In Progress
Development

No branches or pull requests

1 participant