What is the issue?
The dashboard will throw a 500 error if an activity items related content has been deleted from the CMS.
What are the steps to reproduce this issue?
- Create a matrix collection
- Create an entry
- Delete the matrix
- Attempt to load the dashboard
What were you expecting to happen?
The activity log to simply remove the link to any deleted items.
Any other comments?
This probably happens because when deleting a matrix, it doesn't loop through each entry one by one and execute it's delete action. So any events tied to this action won't be fired, which I believe is what is listened for by the activity log.