Bug 1127968 - User can drag and drop a folder for upload, with unexpected results
Summary: User can drag and drop a folder for upload, with unexpected results
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: David Mason
QA Contact: Zanata-QA Mailling List
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-08 02:45 UTC by Damian Jansen
Modified: 2015-07-31 01:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-07-31 01:16:44 UTC

Attachments (Terms of Use)

Description Damian Jansen 2014-08-08 02:45:08 UTC
Description of problem:
From https://github.com/zanata/zanata-server/pull/400
If a user drags a whole folder to the upload drag-and-drop panel, the proceeding upload can have mixed results, including:
- massive performance degradation while traversing the folder

Version-Release number of selected component (if applicable):

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as a maintainer, go to project
2. Click Settings, Documents, then the [+] button
3. Find a folder via your system file browser that has many (a few hundred+) files of various types
4. Drag that folder to the drop panel in Zanata

Actual results:
Long wait, no feedback

Expected results:
There should be either an instant rejection of the folder (files only) or a constant feedback loop to the user, with the ability to cancel the action.

Additional info:
This may affect things such as paths (duplicate filenames in other dirs), file sizes etc

Comment 1 Zanata Migrator 2015-07-31 01:16:44 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-397

Note You need to log in before you can comment on or make changes to this bug.