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]: Cannot leave mod team #3760

Closed
4 tasks done
kevinhikaruevans opened this issue Jul 28, 2023 · 7 comments
Closed
4 tasks done

[Bug]: Cannot leave mod team #3760

kevinhikaruevans opened this issue Jul 28, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@kevinhikaruevans
Copy link

kevinhikaruevans commented Jul 28, 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

I press "leave mod team" and nothing happens: no feedback, the page just sits there. I assume this is a backend issue since the frontend behavior is mostly OK, it's just the endpoint failing.

Steps to Reproduce

  1. Be mod in a community
  2. Press "leave mod team", press "yes"
  3. Observe nothing happens

Technical Details

The POST to https://lemmy.world/api/v3/community/mod returns a 400, with this FK error:

insert or update on table "mod_add_community" violates foreign key constraint "mod_add_community_other_person_id_fkey"

Version

BE: 0.18.2-1-g68276b2f9

Lemmy Instance URL

lemmy.world

@kevinhikaruevans kevinhikaruevans added the bug Something isn't working label Jul 28, 2023
@RocketDerp

This comment was marked as abuse.

@RocketDerp

This comment was marked as abuse.

@RocketDerp

This comment was marked as abuse.

@lionirdeadman
Copy link

I believe this bug should be fixed by LemmyNet/lemmy-ui#1929

Please feel free to re-open this issue once lemmy.world has updated to 0.18.3 if that hasn't fixed it.

@RocketDerp

This comment was marked as abuse.

@lionirdeadman
Copy link

@RocketDerp The code is in the pull request I made and linked to fix this problem. I tested it myself.

@RocketDerp

This comment was marked as abuse.

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