Archive food baskets when accounts are deleted (archived)
Summary
If a user or an orga user deletes (archives) an account, food baskets are not deleted.
So the food basket can't be requested properly anymore.
Steps to reproduce
- Create a food basket
- Delete the account with which the meal basket was created
- Open the food basket with another account
What is the current bug behavior?
The food basket can no longer be requested because the account is archived and the creator can no longer be reached.
What is the expected correct behavior?
The food basket should be archived if the account has been deleted (archived).
Relevant error messages and/or screenshots
https://foodsharing.freshdesk.com/a/tickets/375
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)