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

Content may be duplicated when the page is automatically saved in realtime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.6.0
    • Realtime
    • None
    • Windows 11 Pro, Chrome 127, using a local instance of XWiki 16.6.0 on MySQL 8.4, Tomcat 9.0.91
    • Unknown

    Description

      Steps to reproduce

      1. Enable Realtime WYSIWYG from Administration
      2. Login with an user (e.g. U1)
      3. Edit a page (I reproduced by editing in-place, if relevant)
      4. Using another (incognito) window/tab, login with another user (e.g. U2)
      5. Edit the same page
      6. Insert some text, then insert some images with each user
      7. Add some other pieces of text with each user
      8. Wait until the page gets automatically saved

      Expected results

      The content is saved properly one time, it's not duplicated.

      Actual results

      The content is saved, but it's almost fully duplicated, it seems only the first text line added on the page was not duplicated.

      I've attached the screenshot and the XAR of the page where the issue was reproduced, but I couldn't successfully reproduce this issue consistently.

      If I will find a way to reproduce this easier, I will update the steps.

      Attachments

        1. cc.WebHome.xar
          21 kB
          Ilie Andriuta
        2. Duplicated_saved_content.png
          105 kB
          Ilie Andriuta

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: