Bug 856468 - Repo list cannot be displayed if most recent sync for any repo failed with an exception
Repo list cannot be displayed if most recent sync for any repo failed with an...
Status: CLOSED NEXTRELEASE
Product: PulpDist
Classification: Community
Component: Web App (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity high
: 0.1.0
: ---
Assigned To: Nick Coghlan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-12 01:45 EDT by Nick Coghlan
Modified: 2012-09-12 02:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-09-12 02:35:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nick Coghlan 2012-09-12 01:45:52 EDT
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 02:35:36 EDT
Included in 0.1.1

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