eamena-project / eamena-arches-dev

development repository of the EAMENA Arches-powered database platform
https://eamena.org/home
GNU Affero General Public License v3.0
5 stars 3 forks source link

Bulk-Uploader accepts unstructured bulk (validate and upload) #28

Closed zoometh closed 1 year ago

zoometh commented 1 year ago

An unstructured XLSX file like this one will be 'Validate' and successfully uploaded (the message says) even this file's data are completely random

ads04r commented 1 year ago

Fixed - I added a short check for valid data in the validation function of the bulk uploader. The bulk uploader does its best to import as much as it can from the file given, but now if the validator finds no valid data at all, it will trigger a warning (which will cause the web UI to refuse to validate, as it always runs in strict mode).