mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #36707
[Bug 1605072] Re: Attempting to upload a folder fails with the error
To expand on this little, it looks like drag-and-drop of a folder is not
currently supported by all browsers. Chrome implemented it two years ago
(see http://stackoverflow.com/questions/3590058/does-html5-allow-drag-
drop-upload-of-folders-or-a-folder-tree ), but it's not yet in the
standard. In other browsers, the browser tries to read the folder file
itself (as a zero-byte file), rather than reading the folder's contents.
I tested it out in Gmail on Firefox just now, and indeed got an error
message about having uploaded a zero-byte file. So I think that further
confirms that cross-browser folder upload support isn't yet available.
So with that being the case, Dmitrii's idea of making a more polite
error message, is a good improvement for the time being.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1605072
Title:
Attempting to upload a folder fails with the error
Status in Mahara:
Confirmed
Bug description:
- exact version of Mahara - master
- operating system - Linux, OSX
- database - Postgres
- browser and version - Safari (v. 9.1.1) and Firefox (v.47.0.1)
Test scenario:
1. Login to ePortfolio, go to Content > Files
2. Drag a folder from your file manager to the ‘Drop files her to upload’ region
Expected: all files in the folder uploaded
Actual result: Error “Server responded with 0 code.[object XMLHttpRequest]”
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1605072/+subscriptions
References