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

It is not possible to edit wiki macro contents while another editor is typing in a realtime session

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.5.4, 15.9, 14.10.19
    • 13.10.7
    • Realtime
    • None
    • Integration
    • High
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce :

      • Start with an instance of XWiki 13.10.7 ; with realtime setup and 2 users
      • Create a blank page
      • Edit the page with the user 1 ; which will start a new realtime session
      • Edit the page with the user 2 ; which will make him join the realtime session
      • In the browser console of the user 1, run easyTest() to start writing some characters. The characters should start to show up in the editor of user 2 ; along with some errors in the console as described in XWIKI-20052.
      • In the browser console of user 2, create a couple blank lines, insert an info macro. Make sure that the macro is inserted in block mode, so that its wiki macro content can be edited easily
      • Still as the user 2, try to edit the content of this macro.

      Observed : the user 2 looses focus on the wiki macro content every time an update of the content comes from the user 1. As the user 1 is continuously typing, the user 2 cannot really edit the wiki macro content.

      If we let that go for some time, I found out that the editing session can break, however it's still not clear to me why and how it happens.

      Environment : Debian Testing (bookworm) with Firefox 102
      Tested on a Jetty / HSQLDB instance ; also reproduced on the XWiki SAS intranet running Apache 2 HTTPd and Tomcat 9

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: