this post was submitted on 26 Oct 2021
16 points (100.0% liked)

Lemmy

12441 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 
all 16 comments
sorted by: hot top controversial new old
[–] lunatichacker@lemmy.ml 8 points 2 years ago (1 children)

OK I got some time to properly test this, this happens because you can mark a comment as deleted even if it's already marked as such. and the db trigger happens every time value of deleted is updated regardless of previous state

[–] lunatichacker@lemmy.ml 5 points 2 years ago (1 children)

This also means I can inflate the number of comments by marking deleted as false repeatedly

[–] nutomic@lemmy.ml 2 points 2 years ago (1 children)

Thanks for figuring it out. Could you please open an issue?

[–] lunatichacker@lemmy.ml 2 points 2 years ago (1 children)
[–] nutomic@lemmy.ml 2 points 2 years ago
[–] AgreeableLandscape@lemmy.ml 5 points 2 years ago (2 children)

I took a look, and I suspect it's because a user left three comments and then deleted them all. It's probably the comment counter mistakenly thinking it should subtract one for each removed comment.

[–] 10_0@lemmy.ml 6 points 2 years ago

hey im the commenter on that post, i saw the -3 aswell but didnt think much of it. The reason i think its in the negitive because when i went to delete the origanal comments (the 3 currently deleted ones) they kept on reappearing when i had deleted them, so i kept on deleting until they didnt popup again. the comments should be deleted. ( i use lemmur so it might be a bug in the lemmur app) If your wondering what the comments were the first one was something along the lines of "i dont speak arabic" because it looked like arabic and the other two were "please can someone translate" and me copy and pasting the 2nd parragraph from google translate to english.

[–] gun@lemmy.ml 4 points 2 years ago (1 children)

This happens when more people downcomment your post.

[–] iortega@lemmy.eus 1 points 2 years ago (1 children)

Why do I see your comment highlighted?

[–] Adda@lemmy.ml 1 points 2 years ago

This visualizes the fact this comment is new, made less than 10 minutes ago. 10 minutes after the comment is posted, the comment background colour goes back to the default one. My comment will be highlighted for the first 10 minutes as well. Your comment appears as such for us, too.

[–] lunatichacker@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)
[–] lunatichacker@lemmy.ml 0 points 2 years ago* (last edited 2 years ago) (1 children)