Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Editing comments increases the comment count on federated instances #3334

Closed
4 tasks done
gxtu opened this issue Jun 24, 2023 · 2 comments
Closed
4 tasks done
Labels
area: database bug Something isn't working

Comments

@gxtu
Copy link

gxtu commented Jun 24, 2023

Requirements

  • Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Summary

When you edit a comment on a remote federated instance (i.e. not your home instance), it appears to count each edit as a new comment. Looking at the post through your home instance shows the correct number of comments, but when opening it on the remote instance it shows an incorrect higher comment count depending on how often the comment was edited.

Steps to Reproduce

  1. Create/open a post on a remote federated instance
  2. Make a comment on that post
  3. Edit the comment (several times)
  4. On your home instance the comment count stays the same, but increases on the remote instance with every edit

Technical Details

[I don't have any logs or other details since I don't run either Lemmy instance]

Version

Home instance: 0.18.0, Remote instance: 0.17.4

Lemmy Instance URL

discuss.tchncs.de

@gxtu gxtu added the bug Something isn't working label Jun 24, 2023
@RocketDerp

This comment was marked as abuse.

@lionirdeadman lionirdeadman added the area: federation support federation via activitypub label Jul 24, 2023
@Nutomic Nutomic added area: database and removed area: federation support federation via activitypub labels Nov 22, 2023
@Nutomic
Copy link
Member

Nutomic commented Mar 15, 2024

I cant reproduce this anymore, seems to be fixed.

https://ds9.lemmy.ml/post/9640
https://enterprise.lemmy.ml/post/417789

@Nutomic Nutomic closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: database bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants