Bug 825085

Summary: Breadcrumb trail doesn't display correctly in REST API pages if not served from server root URL
Product: [Community] PulpDist Reporter: Nick Coghlan <ncoghlan>
Component: Web AppAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-25 05:50:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nick Coghlan 2012-05-25 05:05:20 UTC
If served from mod_wsgi and WSGIScriptAlias is set to something other than "/", the breadcrumb trail isn't displayed properly in the REST API browser pages.

This is due to a bug in the djangorestframework upstream: https://github.com/tomchristie/django-rest-framework/pull/211

It should be possible to workaround this by creating the breadcrumbs list directly in the PulpDist REST API views.

Comment 1 Nick Coghlan 2012-05-25 05:50:16 UTC
Fixed for 0.0.16