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]: User not being able to delete his account if it is associated with other parts of the platform. #641

Open
sashko9807 opened this issue Jun 10, 2024 · 0 comments · May be fixed by #667
Labels
type: bug Something isn't working

Comments

@sashko9807
Copy link
Member

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)

No response

Describe the Bug

Whenever someone's account is associated with other part of the project be it donations, file uploads or info requests or others, user is unable to delete that account due to, foreign key constraint failure.

To Reproduce

  1. Create new account
  2. Make non-anonymous or recurring donation
  3. Attempt to delete the account

The same example holds true, for other every other table which uses personId as foreign key.

Expected Behavior

User should be able to delete his account regardless of its association with other parts of the projects.
For that to happen, we should first strategize on what will happen to the existing records referencing that person for each table.

Which browser are you using? (if relevant)

No response

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

Successfully merging a pull request may close this issue.

1 participant