Bug 805335 - traceback in web interface if userid is not found
traceback in web interface if userid is not found
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: koji (Show other bugs)
rawhide
All Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Dennis Gilmore
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-20 18:32 EDT by R P Herrold
Modified: 2012-03-21 15:38 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-03-21 15:38:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screenshot of the error (67.75 KB, image/png)
2012-03-20 18:32 EDT, R P Herrold
no flags Details

  None (edit)
Description R P Herrold 2012-03-20 18:32:37 EDT
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 15:06:24 EDT
was this a manually entered url?
Comment 2 Mike McLean 2012-03-21 15:11:36 EDT
(and if not, where did the url come from?)
Comment 3 Mike McLean 2012-03-21 15:16:32 EDT
Ah, I see the problem. Fix forthcoming.

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