2
(FAV-76347) Deleting a comment, card shows -1
planned
Activity Feed
Sort by
R
Roger Morais Borges
A similar bug: Add a comment to a card through Favro API. A Comment will be added, and a Notice in the body of the card will be added too with the text "@user started a comment thread via API on Thu.. etc". But only 1 number are added to the Comments Count. When you delete the comment, counter is decremented by 1, and when you delete the Notice, counter is decremented by 1 too. The result is a negative number in the Comment counter.
Dovidas Baranauskas
planned
Dovidas Baranauskas
under review
Dovidas Baranauskas
HI Anna Närjänen Could you clarify if there are more comments on the card, or only one comment and when you delete it, the card shows -1? We can not replicate it, so it could be a bug. We would need more information from your side. Does it happen on other cards too? Are you viewing cards in a Kanban view?
Anna Närjänen
Dovidas Baranauskas: I cannot reproduce this anymore either, when trying to create new test cards. It was a comment on a video that was attached to the card. It was the only comment on the card itself. The view is Kanban.
But the card where this happened, still shows -1 as comment (with no comments at all in the ticket.
For testing, I added 1 "normal" comment to the card (not a comment on the video), and it showed no comments. Deleting my test comment, it again shows -1.
Commenting on the video in the card, same happens; it shows no comments and deleting shows again -1 comment.
Anna Närjänen
Dovidas Baranauskas: I have now been able to repro the issue. Steps:
- Add a video file to the card
- Add a comment to the video (so not to the card's normal comment field)
- Delete the video
- Delete the comment
- Add the video back to the card
- Card shows -1 comment (no other comments made)