DistrictDataLabs / cultivar

Multidimensional data explorer and visualization tool.
http://trinket.districtdatalabs.com
Apache License 2.0
52 stars 18 forks source link

Uploading a file that exists in another dataset produces a duplicate file error #88

Open bahadasx opened 7 years ago

bahadasx commented 7 years ago

If you have multiple datasets and you try to upload a file that already exists in another dataset, you get a duplicate file error:

Whoops! Duplicate file detected! Cannot upload the same file twice.

The code that checks for duplicate filenames should be based on the dataset rather than checking for duplicates in the entire storage location.