Project

Profile

Help

Issue #8843

Export list fails with 500 when a repository is deleted

Added by mdellweg 2 months ago. Updated 17 days ago.

Status:
NEW
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 101
Quarter:

Description

Steps to reproduce:

  1. create a repository
  2. create an exporter with that repository
  3. export with the exporter
  4. delete the repository
  5. list the exports of the exporter

Relevant part of the stack trace:

   File "/home/vagrant/devel/pulpcore/pulpcore/app/serializers/exporter.py", line 73, in to_representation
     viewset = get_viewset_for_model(exported_resource.content_object)
   File "/home/vagrant/devel/pulpcore/pulpcore/app/util.py", line 23, in get_viewset_for_model
     model_class = model_obj._meta.model
 AttributeError: 'NoneType' object has no attribute '_meta'

History

#1 Updated by daviddavis 2 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 97

#2 Updated by rchan 2 months ago

  • Sprint changed from Sprint 97 to Sprint 98

#3 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 98 to Sprint 99

#4 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 99 to Sprint 100

#5 Updated by rchan 17 days ago

  • Sprint changed from Sprint 100 to Sprint 101

Please register to edit this issue

Also available in: Atom PDF