NOTE: This bug report is for Confluence Server. Using Confluence Cloud? 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 or later
      • 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)
      

            [CONFSERVER-43949] Cannot save inline comment with MS Edge

            Thiago Masutti made changes -
            Affects Version/s New: 6.13.6 [ 87291 ]

            Vinu added a comment -

            This seems to be the issue with Data Center enterprise version 6.13. Will this be back-ported for the enterprise version? As already noted this is affecting only edge.

            This also happens when you try to insert panels to your page. Anything on the panel and after that does not get an inline comment. 

            Vinu added a comment - This seems to be the issue with Data Center enterprise version 6.13. Will this be back-ported for the enterprise version? As already noted this is affecting only edge. This also happens when you try to insert panels to your page. Anything on the panel and after that does not get an inline comment. 

            No love for enterprise releases? This seems serious enough to warrant it.

            Nathanael Motz added a comment - No love for enterprise releases? This seems serious enough to warrant it.

            A fix for this issue is available to Server and Data Center customers in Confluence 6.15.4.

            Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.

            Maxim Leizerovich added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 6.15.4. Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.
            Rachel Robins made changes -
            Fix Version/s New: 6.15.4 [ 86397 ]

            Confluence 6.15.3 introduced an issue that meant some SVG icons, including all emoticons, don't display correctly in Confluence. To prevent more people being affected by this issue we decided to withdraw the release. Confluence 6.15.4 will be available soon with a fix for this Edge issue.

            Rachel Robins added a comment - Confluence 6.15.3 introduced an issue that meant some SVG icons, including all emoticons, don't display correctly in Confluence. To prevent more people being affected by this issue we decided to withdraw the release. Confluence 6.15.4 will be available soon with a fix for this Edge issue.

            A fix for this issue is available to Server and Data Center customers in Confluence 6.15.3
            Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.

            Maxim Leizerovich added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 6.15.3 Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.
            Maxim Leizerovich made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Bugfix Automation Bot made changes -
            Support reference count Original: 25 New: 26
            SET Analytics Bot made changes -
            UIS Original: 54 New: 56

              oshen@atlassian.com Oliver Shen
              oraissi Omar Raissi (Inactive)
              Affected customers:
              55 This affects my team
              Watchers:
              62 Start watching this issue

                Created:
                Updated:
                Resolved: