codice/ddf

CSV files fail to upload on Windows if Excel isn't installed

Closed this issue · 1 comments

Description

Some windows users without Excel installed are unable to upload CSV files into DDF. This is because the CSV files are getting a mime type (set by the browser) of applicaton/octet-stream rather than the correct mime type - text/csv. This appears to be a known windows issue

See thoughtbot/paperclip#2170 (comment)

Steps to Reproduce

On a windows machine without Excel installed, upload a CSV file

Expected behavior :

The CSV file ingest successfully by the CSV Input Transformer

Actual behavior:

The upload fails

Reproduces how often:

every time in the given environment

Platform and environment:

Windows without Excel installed

Affects versions

All

Additional Information

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.