Bug 805335

Summary: traceback in web interface if userid is not found
Product: [Fedora] Fedora Reporter: R P Herrold <herrold>
Component: kojiAssignee: Dennis Gilmore <dennis>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, mikem
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 19:38:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of the error none

Description R P Herrold 2012-03-20 22:32:37 UTC
Created attachment 571554 [details]
screenshot of the error

Description of problem:


unexpected database state not handled well



view:
http://s390.koji.fedoraproject.org/koji/hostinfo?userID=837

Error
An error has occurred while processing your request.
NotFound: cannot find 'description' while searching for 'host.description'

Traceback (most recent call last):
  File "/usr/share/koji-web/lib/kojiweb/publisher.py", line 16, in publish_object
    return old_publish_object(req, object)
  File "/usr/lib64/python2.6/site-packages/mod_python/publisher.py", line 425, in publish_object
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))
  File "/usr/lib64/python2.6/site-packages/mod_python/util.py", line 554, in apply_fs_data
    return object(**args)
  File "/usr/share/koji-web/scripts/index.py", line 1464, in hostinfo
    return _genHTML(req, 'hostinfo.chtml')
  File "/usr/share/koji-web/lib/kojiweb/util.py", line 78, in _genHTML
    return tmpl_inst.respond().encode('utf-8', 'replace')
  File "hostinfo_chtml.py", line 131, in respond
NotFound: cannot find 'description' while searching for 'host.description'

Comment 1 Mike McLean 2012-03-21 19:06:24 UTC
was this a manually entered url?

Comment 2 Mike McLean 2012-03-21 19:11:36 UTC
(and if not, where did the url come from?)

Comment 3 Mike McLean 2012-03-21 19:16:32 UTC
Ah, I see the problem. Fix forthcoming.