Bug 805335 - traceback in web interface if userid is not found
Summary: traceback in web interface if userid is not found
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: rawhide
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-20 22:32 UTC by R P Herrold
Modified: 2012-03-21 19:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-21 19:38:13 UTC
Type: ---
Embargoed:


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

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.


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