Bug 856468

Summary: Repo list cannot be displayed if most recent sync for any repo failed with an exception
Product: [Community] PulpDist Reporter: Nick Coghlan <ncoghlan>
Component: Web AppAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: 0.1.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-12 06:35:36 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-09-12 05:45:52 UTC
Description of problem:

Attempting to display the repo list fails (with a 500 error page or a traceback, depending on server configuration)

Version-Release number of selected component (if applicable):

PulpDist 0.1.0

How reproducible:

Always

Steps to Reproduce:
1. Have a sync job fail with an exception (e.g. local directory already existing)
2. Attempt to display the repo list
  
Actual results:

500 error page or traceback

Expected results:

Repo list displayed

Additional info:

Display code currently assumes that every sync history entry will have a valid "summary" field. This is not a valid assumption - if the job errors outs completely, it may only have error info and no summary.

Comment 1 Nick Coghlan 2012-09-12 06:35:36 UTC
Included in 0.1.1