uploader-plus
uploader-plus copied to clipboard
Alfresco 5.2 Import multiple documents in firefox: only the last is imported
Hi,
I m working with Alfresco 5.2.2 and I use the uploder plus 1.6. When I upload several documents in Firefox there is a probleme : only the last one is uploaded. With IE10 and Chrome and it's ok. Firefox versions are 57 and 61. Without uploader it's ok too.
Thank you, Regards ! Anna
The issue is still here on Firefox version 96.0 .
@douglascrp I've just tested the 1.8 version, and the bug It is still present in the Firefox 106.0.5.
I debugged a bit, I think it is connected with the _spawnUploads()
function, precicelly with the return
statement in the dnd-upload-plus.js.
In the Firefox, files are processed one by one, and the fileId
from the fileStore
variable (original dnd-upload.js file) is always "file0" so files are "overriding" each other.
In the Alfresco's dnd-upload.js I have changed
var fileId = "file" + i;
to
var fileId = "file" + i + "_" + Date.now();
and it seems to work.
Can anyone confirm there are no drawbacks to this solution?