Bug 1127968

Summary: User can drag and drop a folder for upload, with unexpected results
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: David Mason <damason>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4CC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-31 01:16:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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