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

Realtime editor can fail to initialize when many macros are present in a document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 15.10.8, 16.2.0
    • Realtime
    • None
    • Unknown

    Description

      Steps to reproduce :

      • Enable realtime editing on a new 16.2.0
      • Create a document with 30 macros, apparently it's not important if these macros are the same or not.
      • Try to edit the document in WYSIWYG, with Realtime

      Example of test content :

      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      {{mention reference="XWiki.caubin" style="FULL_NAME"/}}
      

      When editing the document, the realtime editor takes a lot of time to load, and can time out depending on the browser performance. It seems that the issue reproduces systematically with large documents (which have a lot of macros). I'm not 100% sure that this is fully related to the amount of macros present in a document, but it seems that the more macros there are, the longer it takes to load the doc.

      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: