Details
Description
When sending a content to trash, the activity log admin UI crash and the REST API doesn't show the action.
To reproduce:
- Create a Content item.
- Delete this content item.
- In BO, go to "Admin / Activity list" (…/activity-log): an error 500 Impossible to invoke a method ("getParentLocation") on a null variable. occurs.
- Access to REST ressource GET /activity-log/list: the delete action isn't there.
- In BO, go to "Trash" and execute "Empty Trash".
- Go back to "Activity list": an error 500 Impossible to invoke a method ("getContentType") on a null variable. is thrown.