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]: Display deleted or removed posts when they have children #3965 #5525

Open
5 tasks done
naught101 opened this issue Mar 22, 2025 · 3 comments
Open
5 tasks done
Labels
bug Something isn't working

Comments

@naught101
Copy link

naught101 commented Mar 22, 2025

Requirements

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

Summary

Follow-up from #3965 (comment):

When a user deletes a post, the comments on that post still exist in the DB, but are not accessible, because the post page is missing. The comments still show up in the inbox, but can't be replied to (I think). Clicking the "context" link leads to an error.

Steps to Reproduce

  1. I made a comment on a post that got a reply from a 3rd user.
  2. The post OP deleted their account and all content, including the post that the comment thread was on.
  3. I can see the 3rd user's reply to my comment in my inbox
  4. If I click the "context" link on that, it goes to a blank page
  5. if I reload, I get an error page (couldnt_find_post)

Technical Details

Recent firefox, web-ui.

Version

0.19.9

Lemmy Instance URL

lemmy.world

@naught101 naught101 added the bug Something isn't working label Mar 22, 2025
@DraconicNEO
Copy link
Contributor

I don't think removed or deleted posts should bounce users to an error, it would be better if they blanked the post data but still allow you to see the comment replies. Bouncing users to an error seems like a hack, especially because it isn't done for mods, admins, or even just the OP of the post.

@MrKaplan-lw
Copy link

Implementing this should probably only come after the ability for moderators to remove entire comment threads and perhaps even all comments on a post.

I can think of a few cases where posts have been removed in the past and they had a ton of problematic comments on them that weren't also removed.

Currently, those comments are visible e.g. on the creator's profile and may be seen in some cases, but it's not consistent.

@DraconicNEO
Copy link
Contributor

Implementing this should probably only come after the ability for moderators to remove entire comment threads and perhaps even all comments on a post.

I can think of a few cases where posts have been removed in the past and they had a ton of problematic comments on them that weren't also removed.

Currently, those comments are visible e.g. on the creator's profile and may be seen in some cases, but it's not consistent.

Yeah being able to batch remove comments is important, though I don't know if this feature should be delayed for that reason. This might make it better for these kinds of situations since the comments would be more likely to be seen and reported than if they were simply out of sight and out of mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants