Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alfresco 5.2 Import multiple documents in firefox: only the last is imported #134

Open
anleoo opened this issue Aug 28, 2018 · 3 comments
Open

Comments

@anleoo
Copy link

anleoo commented Aug 28, 2018

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

@tartard
Copy link
Contributor

tartard commented Jan 24, 2022

The issue is still here on Firefox version 96.0 .

@howkymike
Copy link

howkymike commented Nov 15, 2022

@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.

@howkymike
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants