Bug 856468 - Repo list cannot be displayed if most recent sync for any repo failed with an exception
Summary: Repo list cannot be displayed if most recent sync for any repo failed with an...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: PulpDist
Classification: Community
Component: Web App
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 0.1.0
Assignee: Nick Coghlan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-12 05:45 UTC by Nick Coghlan
Modified: 2012-09-12 06:35 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-12 06:35:36 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.