Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, 7.2.X, Master
-
7.2.x, 7.1.x
-
Committed
-
3
Description
Drag & Drop of several documents to the DM portlet should be handled the same way the "Multiple Upload" option is in case two or more documents have the same file name: in this case, unique names must be autogenerated by Liferay.
Steps to reproduce:
- Go to Documents & Media portlet.
- Drag & drop a local file, called for example 'test.txt'.
- Drag & drop the same local file.
- Checkpoint: two files called 'test.txt' are added to the list of documents.
- Refresh the page.
Expected result: no error is shown and two files called 'test.txt' and 'test (1).txt' are uploaded.
Current result: only the first document is uploaded and error "Your request failed to complete." is shown.