CDRH / datura

Datura is a ruby gem that manages data (TEI-XML, CSVs, VRA-XML, etc) and populates Solr / Elasticsearch instances. Datura also generates HTML for the formats to allow serving the contents via web
6 stars 5 forks source link

CSV posting, ignore empty rows #222

Closed karindalziel closed 9 months ago

karindalziel commented 1 year ago

Right now if one posts a CSV with empty rows, it won't post at all, giving this error:

Error transforming ES for photographs: no implicit conversion of nil into String

Todo: add a check where it handles empty rows gracefully (by skipping)

karindalziel commented 9 months ago

duplicate