- changed status to resolved
Reply link appears twice or thrice in some cases
This repository's ownership is pending transfer to David Posircaru.
Visit the repository details page for more info.
Issue #48
resolved
version : 1.27.1
JIRA version : 8.0.2
How to reproduce :
- Create a comment
- Click Reply
- Add a comment/reply
- Click reply of the second comment
- Add a comment/reply
- Here you should see the link “Reply” twice below the third comment.
Note that one of the two links creates a comment box that is disfunctional (clicking “add” does not work).
Comments (1)
-
repo owner - Log in to comment
fix duplicate "reply" link
1) onTabReady() will fire anyways during initialization
2) The existence of another link is only checked before calling the REST endpoint. If two queries run at the same time there will be duplicate links. It may be better to use a lock or another synchronization mechanism instead of just throwing away one of the results.
Fixes
#48→ <<cset f07fea39f01a>>