Details
-
Bug
-
Resolution: Answered
-
Low
-
3.9.1, 3.10.3
-
None
-
Severity 3 - Minor
-
2
-
Description
Summary
In case the user reloads the page in the browser after submitting a draft comment, the comment count is incorrect.
Steps to Reproduce
- Create a review
- Display a file in the opened review
- Click on a line in the opened file, the comment text area is displayed
- Enter a comment and select "Save as draft" (note that the comment counter is 0)
- Reload (e.g. by using F5 or the refresh button) the page (note that the comment counter is 1)
- Locate the previously added (as draft) comment and click on the "Post" link
Expected Results
- The counter for the comments shows 1
Actual Results
- The counter for the comments shows 2
Notes
If the comment is created directly (and not saved as draft), the problem does not occur.
Workaround
When the page is reloaded again after the draft comment has been posted, the comment counter shows the expected number (1).
Attachments
Issue Links
- is duplicated by
-
CRUC-7414 Draft is counted as a regular comment after review was reopened
- Closed