Skip to content

Problem: CSV import not trimming spaces for language, languageOfDescription, script, scriptOfDescription, eventStartDates and eventEndDates fields

Current Behavior

Steps to reproduce the behavior

  1. Import CSV where language/script fields have multiple entries separated by | have spaces (ex. en | fr or Arab | Cyrl)
  2. Import fails as values with spaces are not valid

Expected Behavior

CSV import should remove spaces for these fields

Context and Notes

CSV validator checks these fields, and they pass validation since we're trimming these fields during validation but not during import.

Version used

AtoM 2.10