Roundup Tracker - Issues

Message4038

Author draghuram
Recipients draghuram
Date 2010-03-12.19:02:04
Message-id <1268420527.12.0.29471079134.issue2550643@psf.upfronthosting.co.za>
In-reply-to
While playing with jython roundup tracker (http://bugs.jython.org/) 
locally, I hit a problem during user login.

-----
Traceback (most recent call last):
  File "/opt/tracker-roundup//lib/python2.6/site-
packages/roundup/cgi/client.py", line 442, in inner_main
    html = self.handle_action()
  File "/opt/tracker-roundup//lib/python2.6/site-
packages/roundup/cgi/client.py", line 1121, in handle_action
    action = self.form['@action'].value.lower()
AttributeError: 'list' object has no attribute 'value'
-----

On investigating the problem, I found one earlier issue similar to this 
one: http://issues.roundup-tracker.org/issue2550504

I am attaching a patch that fixed the problem for me. Note that my test 
was against 1.4.10 (which jython tracker uses) even though I generated 
the patch against trunk.
History
Date User Action Args
2010-03-12 19:02:07draghuramsetrecipients: + draghuram
2010-03-12 19:02:07draghuramsetmessageid: <1268420527.12.0.29471079134.issue2550643@psf.upfronthosting.co.za>
2010-03-12 19:02:07draghuramlinkissue2550643 messages
2010-03-12 19:02:05draghuramcreate