Uploaded image for project: '{RETIRED} CKEditor Integration'
  1. {RETIRED} CKEditor Integration
  2. CKEDITOR-414

The wysiwyg editor hangs when loading a page with many display macro calls, trying to display them in edit mode instead of view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.57
    • 1.56
    • None
    • None
    • Unknown

    Description

      How to reproduce:
      Use the attached xar file that exemplifies the problem OR recreate it manually:

      1. Create a class with 2 TextArea fields set to use the wysiwyg editor
      2. Create a sheet to display those 2 fields using $doc.display(fieldName)
      3. Create 3 pages, each with 1 object in it
      4. Create an index page that contains 3 display macro calls, to each of the previously created pages

      Then:

      1. Edit the index page in the inplace editor and observe that it works well and the fields for each page are properly displayed in view mode.
      2. Edit the index page in wysiwyg mode and observe that it loads (slower), but the fields are attempted to be displayed in edit mode instead of view mode.
      3. Edit the index page in wiki syntax mode and copy the 3 display macro calls 10 times, obtaining 33 display macro calls
      4. Edit the index page in the inplace editor and observe that it still works, even for the large number of display macro calls.
      5. Edit the index page in the wysiwyg editor and observe that the page never loads (i.e. hangs forever), the CPU and heap usage spikes and remains up until the wiki is stopped.

      Expected result:
      WYSIWYG would display the documents similarly to the inplace editor (i.e. in view mode)

      Actual result:
      WYSIWYG tries to display them in edit mode and fails.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: