Skip to content

Activity log breaks when a referenced resource is deleted #493

@kaidesu

Description

@kaidesu

Describe the issue

When a resource that is listed in the activity panel is deleted, it prevents the activity panel from displaying any information at all. You will find a 500 error from the API in relation to this.

To reproduce

  • Create a matrix
  • Delete the matrix
  • Navigate to the dashboard and see that the activity log is empty

Expected behavior

The reference to the "relationship" to be cleared within the activity panel. We are using Spatie's laravel-activitylog package for this functionality, so maybe there's something to handle this situation already?

Screenshots

Screen Shot 2020-05-01 at 3 40 22 PM

Version and browser

Version: Beta 5

Bug report checklist

  • I have filled out as much information as I can
  • I have detailed how the issue can be reproduced
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions