-
Type:
Bug
-
Resolution: Answered
-
Priority:
Low
-
None
-
Affects Version/s: 4.8.1
-
Component/s: Code reviews
-
Severity 3 - Minor
Issue Summary
After editing a comment, the comment box may disappear and will only reappear when the browser tab is refreshed.
Steps to Reproduce
Watch this video: Recording.mov![]()
As can be seen:
- Go to a Crucible review
- Go into a file and add a comment to a single line of code
- Edit the comment
- Click on another line of code that is lower than the one currently selected to add the comment to that line as well. It doesn't need to be an adjacent line of code, it can be any lower line number.
- Click the Comment button and notice that the comment box will disappear.
- Refresh the browser window to make the comment show up again.
- Edit the comment once again
- Unselect the lower line number and select a greater line number.
- Click the comment button and notice that the comment box will continue being displayed.
- Edit the comment again
- Unselect the greater line number and select the lower line number you originally intended, and see that the comment box will remain displayed.
Expected Results
The comment box should remain being displayed no matter which line number is selected.
Actual Results
The comment box disappears if a lower line number (when compared to the original line number) is selected when the comment is edited.
Workaround
Workaround 1:
Reload the review page.
Workaround 2:
When editing the comment, first select a line number that is greater than the one currently selected, save the comment, edit the comment once again, unselect the greater line of code, and then select the lower line of code you originally wanted to select.