peacecorps/medlink

Bulk Upload Feature not functioning on both staging and master branch

Closed this issue · 2 comments

On staging branch the upload of a .csv leads to this error:
screenshot 2016-01-25 at 5 49 44 pm

On master branch (pcmedlink.org) an upload leads to nothing. After you choose a file to upload, you return to the users screen with just the choose file input highlighted.
screenshot 2016-01-25 at 5 50 55 pm

Per an earlier conversation with @aroberts01, the issue here is that the upload cannot accept a CSV with a Country column (as there are no provisions for uploading to multiple countries at once). We do need an actual informative error message there, but things should work if you remove that column.

AFAIK, this is "working as intended" with that^. If we want to support multi-country uploads, that'll need to be a new feature; if not, we'll disallow the column and get country from the drop-down.