Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22218

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 15.10.11, 16.8.0-rc-1, 16.4.4
    • 15.10.10, 16.4.0
    • Realtime
    • None
    • Windows 11 Pro, Edge 125, using an instance of XWiki 15.10.10 on MySQL 8, Tomcat and XWiki 16.4.0 on PostgreSQL 16, Tomcat 9.0.89
    • Unknown

    Description

      Steps to reproduce

      I managed to also reproduce the issue locally with 2 users in different tabs (one using Incognito mode) and some larger files.

      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 by forcing the lock
      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).

      Attachments

        Activity

          People

            douakli Dorian Ouakli
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: