Messages RSS feed crashes

Bug #258318 reported by Thomas Adamcik
2
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Thomas Adamcik

Bug Description

Visiting /messages/rss in the messages tool
causes a crash. Traceback will be provided in the comments.

[http://sourceforge.net/tracker/index.php?func=detail&aid=2018579&group_id=107608&atid=648170]

Revision history for this message
Thomas Adamcik (adamcik) wrote :

Originator: YES

MOD_PYTHON ERROR

ProcessId: 8534
Interpreter: 'xxx'

ServerName: 'xxx'
DocumentRoot: '/usr/local/nav/apache/webroot'

URI: '/messages/rss'
Location: None
Directory: '/usr/local/nav/apache/webroot/messages/'
Filename: '/usr/local/nav/apache/webroot/messages/rss'
PathInfo: ''

Phase: 'PythonHandler'
Handler: 'nav.web.messages.handler'

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line
1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line
1128, in _execute_target
    result = object(arg)

  File "/usr/local/nav/lib/python/nav/web/messages/handler.py", line 86,
in handler
    for i, msg in enumerate(page.msgs):

TypeError: iteration over non-sequence

Revision history for this message
Thomas Adamcik (adamcik) wrote :

Originator: YES

Fixed in changeset 4857d50db216 in nav-3.4.x, will be shipped with 3.4.1

Changed in nav:
milestone: v3.4 → v3.4.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.