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

CKEditor freezes when editing the page in attempt to change list type for item with image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 16.3.0-rc-1, 14.10.22, 15.10.9
    • 14.10.7
    • CKEditor
    • None
    • local 14.10.18 and 16.2-rc1, last one with Tomcat and PostgeSQL
    • Unknown
    • N/A
    • N/A

    Description

      Prerequisites

      • Have a small image or use scissors or similar elements directly while using XWiki in the Web-browser (CTRL+Shift+S)
      • Be authorized as an admin

      Steps to reproduce

      • Start editing the test page
      • Create a numbered or bulleted list with the following text

      Item without image
      Item with image (add an image here during editing from clipboard, preferably a small one)

      • Save the changes
      • Start editing the page again
      • Try changing the list type for the 2nd item with image from bullet or numbered into opposite

      Actual result

      The window will freeze and will not respond to any actions. You may even receive an offer from the browser to wait or leave, but this will not help in any way. In the end it is possible to get this window
      Only forcibly closing the browser window or tab will allow you to return to the page or even restart XWiki, but the problem will arise when you try to change the type for 2nd item.

      There are no problems when changing the type of the 1st element that does not have an image

      Expected result

      The editor performs the appropriate operation in this case, an item in list with image can be turned from bullet into numbered and vice versa, and no freezes occur.

      Note

      The change happened somewhere between 14.10.6 and 14.10.7

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            npetrenko Nikita Petrenko
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: