-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Page - Inline Comments
-
2
-
Severity 3 - Minor
Issue Summary
- When a Page Properties is set to "Hidden", any word on the page that matches any partial text inside the Page Properties macro, cannot have an inline comment added to it.
Steps to Reproduce
- Create a new page, and add a "Page Properties" macro, and tick the "Hidden" option.
- Add some text inside of the "Page Properties" macro.
Apples Caterpillar
- Now add the following text on the page itself, outside of the "Page Properties" macro.
Apples Application Caterpillar Cat Cats
- Publish the page, and try to add some inline comments.
- Any word that matches the full, or partial text inside of the "Page Properties" macro will fail.
- Apples

- Application

- App (from Application)
- Fails as it matches "App" from "Apple" inside of the "Page Properties" macro.
- Caterpillar

- Cat
- Fails as it matches "Cat" from "Caterpillar" inside of the "Page Properties" macro.
- Cats

- Cat (from Cats)
- Fails as it matches "Cat" from "Caterpillar" inside of the "Page Properties" macro.
- Apples
Expected Results
- We're able to add inline comments for any words in the Page Properties macro.
Actual Results
- Any word that matches the words in the Page Properties macro cannot have inline comments added to them.
- The error below is thrown by the Inline comment editor.
We’re having trouble adding your comment. Try highlighting more or less text.
- The error below is seen in the network tab.
[{errors: [{,…}], data: null}] 0: {errors: [{,…}], data: null} data: null errors: [{,…}] 0: {,…} extensions: {microsID: "...............",…} message: "..............: com.atlassian.confluence.api.service.exceptions.BadRequestException: Failed to insert highlight, invalid originalSelection, numMatches, or matchIndex" path: ["createInlineComment"] 0: "createInlineComment"
Workaround
- Make the Page Properties macro visible by unchecking the "Hidden" checkbox.
- Highlight more text so that it unmatches any string than the words inside the Page Properties macro.
- Example: From above, we cannot highlight "Cat", but "Cats" is fine.
- is related to
-
CONFCLOUD-74815 Unable to add Inline comment if link contains the same word
-
- In Progress
-