Project

Profile

Help

Issue #3354

closed

Can't delete a publication

Added by daviddavis almost 7 years ago. Updated almost 5 years ago.

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:
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'

Also available in: Atom PDF