Project

Profile

Help

Issue #3277

closed

CreatedResource serializer breaks when content_object is deleted

Added by amacdona@redhat.com almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Sprint 31
Quarter:

Description

The CreatedResource is cleaned up when the Task is deleted, but not when the object it represents is deleted. This raises a 500 when the Task is serialized.

Either the CreatedResourceSerializer should be able to handle content_object=None or the CreatedResource should be cleaned up when the resource is deleted.

Also available in: Atom PDF