This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-dcd5b716-e3d8-4973-83c3-d2308a27f5b5 XWIKI-22634 Open

Drag & Drop still doesn't successfully create links if the actions are performed in the same time by users

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5adcd5dc-e4a7-4671-a615-66ecb1f9c371 Ilie Andriuta created this issue on 05/Nov/24 15:17
 
Summary: Drag & Drop still doesn't successfully create links if the actions are performed in the same time by users
Issue Type: cid:jira-generated-image-avatar-dcd5b716-e3d8-4973-83c3-d2308a27f5b5 Bug
Affects Versions: 15.10.13, 16.4.5
Assignee: Unassigned
Attachments: No_Link_Aborted_by_the_User.gif
Components: Realtime
Created: 05/Nov/24 15:17
Environment: Windows 11 Pro, Chrome 130, using an instance of XWiki 16.4.5 on MySQL 9, Tomcat 9.0.96
Priority: cid:jira-generated-image-static-major-3b25ea5b-d28f-40ad-9617-8f46dfad65ec Major
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Enable Realtime WYSIWYG from Administration
  2. Login with an user (e.g. U1)
  3. Edit a page in-place
  4. Using another (incognito) window/tab, login with another user (e.g. U2)
  5. Edit the same page
  6. Set the 2 windows to fit in the screen, but leave a spot for a 3rd window from which the Drag & Drop will be made
  7. Select 2 larger files and drop the one after another for each user (I first dropped a file of 100 MB for U1 and immediately after that a 64 MB file for U2)
  8. Observe the messages displayed
  9. Save the pages and observe the links created

Expected results

There are displayed only messages for successful uploads for both users.

After save, both links are displayed on the page.

Actual results

After dropping the 100 MB file for U1, when dropped the 64 MB file for U2, a blue message was displayed for U1:

Upload aborted by the user.

After the save, only the link for the 64 MB file dropped by U2 was displayed (however, the files are displayed in Attachments tab).

Please see the attached .gif file.