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

In-place editing lock warning cannot be dismissed properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 14.2-rc-1
    • 14.1-rc-1
    • Windows 11 Pro 64 bit, Firefox 97, using a local instance of XWiki 14.1 on PostgreSQL 14, Tomcat 9.0.59, Docker
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Edit a page in-place
      3. Open the page in another browser or an incognito window
      4. Login with another user
      5. Edit the same page in-place
      6. When the page lock warning is displayed, click 'Cancel' or 'Force editing', or click on 'X' in the upper right

      EXPECTED RESULTS

      The lock warning box closes, following the chosen user action: 'Cancel' or 'Force editing'.

      ACTUAL RESULTS

      The lock warning box cannot be closed (unless the page is refreshed). The following error is displayed in browser's console:

      Uncaught TypeError: c.state is not a function
          r InplaceEditing:378
          jQuery 3
          trigger eventsBridge.js:30
          jQuery 4
          hide bootstrap.min.js:6
          jQuery 3
      InplaceEditing:378:19
          r InplaceEditing:378
          jQuery 3
          trigger eventsBridge.js:30
          jQuery 4
          hide bootstrap.min.js:6
          jQuery 3

      The issue reproduces also on 14.1 RC1 and could not be reproduced on XWiki 14.0. 

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: