06-07-2018 07:42 PM
We are getting reports from our users (and seem to be able to confirm them) that users are using the "Drag-and-Drop" feature in a subfolder off of a Site's Document Library. When they drag the single file up, the file then appears twice. Once with its normal name, then once again a "-1" appended to the name, to indicate its a duplicate.
When I checked the HTTP logs on our server, I see that, indeed, multiple POST calls to "/share/proxy/alfresco/api/upload" were made within the same second. So I would theorize that our users are tripping over some Javascript bug.
Is this a problem anyone recognizes? Are there any similar known bugs i the
We (the developers & sysadmins on the site) can't get it to happen, but it seems like an outstanding annoyance for our users.
06-08-2018 03:42 AM
I haven't seen that particular behaviour yet, but I am aware of a known issue using Drag&Drop in the Edge browser where multiple instances of the same file appear in the upload dialog. In that case, Alfresco simply forgot to implement an "already-added-check", and due to some other particularities of the Drag&Drop API, the operation to add a file to the list is called multiple times.
I have corrected that issue for one of my customers and hope the patch makes it through Support without much delay. In my investigation of the code base, I have not found where the name might be appended with a "-1" suffix. Unfortunately searching for an issue with "-1" in JIRA (in combination with drag&drop) did not produce any meaningful results
06-08-2018 03:42 AM
I haven't seen that particular behaviour yet, but I am aware of a known issue using Drag&Drop in the Edge browser where multiple instances of the same file appear in the upload dialog. In that case, Alfresco simply forgot to implement an "already-added-check", and due to some other particularities of the Drag&Drop API, the operation to add a file to the list is called multiple times.
I have corrected that issue for one of my customers and hope the patch makes it through Support without much delay. In my investigation of the code base, I have not found where the name might be appended with a "-1" suffix. Unfortunately searching for an issue with "-1" in JIRA (in combination with drag&drop) did not produce any meaningful results
06-10-2018 11:21 PM
What browser version and platform is being used by the users who are seeing this problem?
Also, the usual suggestions of restarting browsers, clearing cache, disabling pop-ups, etc., applies.
Explore our Alfresco products with the links below. Use labels to filter content by product module.