Actions
Issue #3277
closedCreatedResource serializer breaks when content_object is deleted
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
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.
Actions
Serialize deleted resources as null
closes #3277 https://pulp.plan.io/issues/3277