Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-60511

Javascript error seen on editing pages when Team Calendars 6.1.4 is installed

    XMLWordPrintable

Details

    Description

      Issue Summary

      Javascript error is seen on editing a page when TC 6.1.4 is installed.

      Steps to Reproduce

      1. Create a new page
      2. Type some text into it and then save it
      3. Edit the page again.
      4. Select a piece of text from it, copy it, and paste it on the same page.
      5. The page is then frozen, nothing happens and one cannot type or paste anything in the editor anymore.
      6. In the Developer Tools Console one can see a Javascript error:
      Uncaught TypeError: Cannot read property 'selection' of null at Selection.getBookmark

      Expected Results

      No errors expected during editing

      Actual Results

      The javascript console throws this error:

      batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2017 Uncaught TypeError: Cannot read property 'selection' of null
          at Selection.getBookmark (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2017)
          at j (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2274)
          at Editor.<anonymous> (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2279)
          at Dispatcher.dispatch (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:1854)
          at b (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2168)
          at DOMUtils.<anonymous> (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2169)
          at HTMLBodyElement.e (batch.js?confluence.table.resizable=true&enable.legacy.edit.in.office=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&locale=en-US:2001)
      

      Workaround

      Downgrade from Team Calendars 6.1.4 to Team Calendars 6.1.2.

      Navigate to Confluence Administration » Manage Apps

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scherukumilli@atlassian.com Shilpa R (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: