Actions
Issue #6468
closedSchema generation throws scary errors but succeeds
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 71
Quarter:
Description
Calling http :/pulp/api/v3/docs/api.json
succeeds but throws errors:
Traceback (most recent call last):
File "/usr/local/lib/pulp/lib64/python3.7/site-packages/drf_yasg/inspectors/base.py", line 50, in call_view_method
return view_method()
File "/home/vagrant/devel/pulpcore/pulpcore/app/viewsets/base.py", line 250, in get_queryset
filters[lookup] = self.kwargs[key]
KeyError: 'exporter_pk'
Actions
Fixes KeyError during OpenAPI schema generation.
fixes: #6468 https://pulp.plan.io/issues/6468