kora icon indicating copy to clipboard operation
kora copied to clipboard

Combo list imports bad data from CSV

Open fritosxii opened this issue 1 year ago • 0 comments

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 avatar Apr 13 '23 15:04 fritosxii