cozy / cozy-files

This repository was part of CozyV2 which has been deprecated
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
41 stars 24 forks source link

Cannot upload an empty file #209

Open alpha14 opened 9 years ago

alpha14 commented 9 years ago
Upload Error /lol Cannot upload a folder with Firefox (upload_queue.coffee:242)

Tested on firefox and chrome

jsilvestre commented 9 years ago

Steps to reproduce:

$ touch myFile
jsilvestre commented 9 years ago

This is kind of awkward, I don't think I'll be able to fix it. It happens with empty files with no detected type (no extension) which is kind of a rare case, so I don't fix yet, waiting for a good idea.

jsilvestre commented 9 years ago

Gave this another shot. Still not fixable because there is no difference between an empty file with no mime type and a folder when you drag and drop in Firefox. Always open to ideas :)

nicofrand commented 8 years ago

When using Chrome, this happens when uploading a folder full of empty files too, but with a weird error (I repeat: using Chrome):

cozy-files-bug

There are as much error messages (stacked) as there are empty files in the folder.

jsilvestre commented 8 years ago

We requalified this bug as enhancement, because the error is caught. The enhancement would be to support upload of empty file, if possible, and anyway to have proper error messages for each case (see https://github.com/cozy/cozy-files/issues/447).