We faced the following scenario
- Create requestable dataset
- Request it
- Delete it
- Go to dashboard
Result is error 500 server error, the controller is trying to package_show an id that is purged. What is the best approach?
- when dataset is deleted, it should delete also the requests?
- don't allow a dataset to be deleted
- send an email to all requesters before deleting dataset and all requests