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

500 error when deleting address not associated with an account #726

Open
rlskoeser opened this issue Mar 2, 2021 · 1 comment
Open

500 error when deleting address not associated with an account #726

rlskoeser opened this issue Mar 2, 2021 · 1 comment
Labels

Comments

@rlskoeser
Copy link
Contributor

Describe the bug
Attempting to delete an address associated with a person and not an account through django admin causes a 500 error

The offending code is in the address deletion handler, which does not check if an associated account exists.

/var/www/shakespeareandco/mep/people/models.py in address_delete, line 369

@rlskoeser rlskoeser added the bug label Mar 2, 2021
@rlskoeser
Copy link
Contributor Author

this is no longer a problem, looks like the code change that fixed it was made five years ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant