IntegrityError
when deleting user who marked feedback as read
#2408
Labels
🐛 bug
Something isn't working
⁉️ prio: low
Not urgent, can be resolved in the distant future.
😅 effort: medium
Should be doable in <12h
Milestone
Describe the Bug
When a user is deleted who marked a specific feedback entry as read, an internal server error occurs.
Steps to Reproduce
Expected Behavior
The user should be deleted, not sure what should happen to the feedback:
SET_NULL
is usedCASCADE
is usedread_by
field to another user, either a dummy user or an existing one in the regionActual Behavior
An internal server error occurs:
Additional Information
Traceback
The text was updated successfully, but these errors were encountered: