Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.10, 5.10.2, 6.1.0, 6.3.2, 6.5.0, 6.7.1, 6.10.0, 6.13.6
-
26
-
Severity 2 - Major
-
56
-
Description
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:
- Create a page and add some text then save
- Try to add an inline comment then save it. It works
- Edit the page and add a code block macro in the middle of the page then save it
- Try to add an inline comment before the code clock and after (also the table)
Case 2:
- Create a page and add some text then save
- Try to add an inline comment then save it. It works
- Edit the page and add a table in the middle of the page then save it
- 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
- relates to
-
CONFCLOUD-43949 Cannot save inline comment with MS Edge
- Closed
- mentioned in
-
Page Loading...