Skip to content

Server error on global moderations after deleting a debate with reported inappropriate comments #7888

@martanducas

Description

@martanducas

Describe the bug
When deleting a debate, comments reported with inappropriate content are not deleted from global moderations and it gives a server error.

To Reproduce
Steps to reproduce the behavior:

  1. Create a debate
  2. Comment on it
  3. Report the comment as inappropriate
  4. Delete the debate
  5. Go to admin > Global moderations > 💥 "Server error"

Expected behavior
If I delete a debate, any reported comment related to it should be deleted from global moderations.
Extra data (please complete the following information):

  • Decidim Version: 0.24

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions