Skip to content

Dashboard doesn't load when related activity has been deleted #26

@kaidesu

Description

@kaidesu

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?

  1. Create a matrix collection
  2. Create an entry
  3. Delete the matrix
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions