Actions
Issue #3354
closedCan't delete a publication
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 32
Quarter:
Description
File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/rest_framework/views.py", line 491, in dispatch
response = handler(request, *args, **kwargs)
File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/rest_framework/mixins.py", line 93, in destroy
self.perform_destroy(instance)
File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/rest_framework/mixins.py", line 97, in perform_destroy
instance.delete()
File "/home/pulp/pulpvenv/lib64/python3.6/site-packages/pulpcore/app/models/publication.py", line 97, in delete
CreatedResource.objects.delete(object_id=self.pk)
AttributeError: 'Manager' object has no attribute 'delete'
Actions
Fix publication deletion
fixes #3354 https://pulp.plan.io/issues/3354