Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-43949

Cannot save inline comment with MS Edge

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      Summary

      Cannot save inline comment when the page has code block macro or in a table.

      Environment

      • Windows 10 Professional version 1607
      • Edge 38.14393.0.0
      • Confluence 5.10.0 or later

      Steps to Reproduce

      Case 1:

      1. Create a page and add some text then save
      2. Try to add an inline comment then save it. It works
      3. Edit the page and add a code block macro in the middle of the page then save it
      4. Try to add an inline comment before the code clock and after (also the table)

      Case 2:

      1. Create a page and add some text then save
      2. Try to add an inline comment then save it. It works
      3. Edit the page and add a table in the middle of the page then save it
      4. Try to add an inline comment before the table, in the table and after it

      Expected Results

      The inline comment should be able to save wherever the text is selected

      Actual Results

      Can't save inline comment after the code block, in the table or after the code block or table. Error in the screen "Could not save the comment"

      Error appearers in the log

      2016-09-16 13:04:00,174 WARN [http-nio-8090-exec-25] [plugins.inlinecomments.service.InlineCommentServiceImpl] attemptInlineCommentCreateForPage The text selection is wrong
      – referer:  | url: /rest/inlinecomments/1.0/comments | traceId: 3d669b131184c2e7 | userName: admin
      com.atlassian.confluence.plugins.highlight.SelectionModificationException: The text selection is wrong
      at com.atlassian.confluence.plugins.highlight.service.SelectionValidator.validateSelection(SelectionValidator.java:65)
      at com.atlassian.confluence.plugins.highlight.service.SelectionValidator.validate(SelectionValidator.java:29)
      at com.atlassian.confluence.plugins.highlight.service.DefaultSelectionModifier.modify(DefaultSelectionModifier.java:46)
      at com.atlassian.confluence.plugins.highlight.DefaultSelectionStorageFormatModifier.markSelection(DefaultSelectionStorageFormatModifier.java:57)
      at sun.reflect.GeneratedMethodAccessor2691.invoke(Unknown Source)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oraissi Omar Raissi
              Votes:
              17 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: