Roundup Tracker - Issues

Issue 503571

classification
Update Fail when status='-no selection-'
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : calcium, richard
Priority: normal :

Created on 2002-01-14 22:36 by calcium, last changed 2002-03-14 07:13 by richard.

Messages
msg155 Author: [hidden] (calcium) Date: 2002-01-14 22:36
When trying to update the assigned list, I get the
following error.
It seems that key for 'status' doesnt exist when the
status= '-no selection-'.

I could fix it but am not sure if it'd be consistent
with what u guys want ie check if key exist, if not
ignore field?

#-- cut here
Traceback (most recent call last):
  File
"/usr/lib/python2.1/site-packages/roundup/cgi_client.py",
line 318, in shownode
    self._changenode(props)
  File
"/usr/lib/python2.1/site-packages/roundup/cgi_client.py",
line 367, in _changenode
    if (props['status'] == unread_id or props['status']
== resolved_id and current_status == resolved_id):
KeyError: status
#-- end here

Chai
ps
btw, the 'group' list box in the bug submission page
has no 0.4b1 in it, which is what I'm using.
msg156 Author: [hidden] (richard) Date: 2002-01-14 23:33
Logged In: YES 
user_id=6405

That doesn't make sense - the value for '-no selection-' is
-1...

What web browser are you using?
msg157 Author: [hidden] (calcium) Date: 2002-01-15 03:31
Logged In: YES 
user_id=82192

I've tried using K-Meleon 0.6 and M$IE 5.5.
Web server is on Linux, python used is 2.1.1
When I click on 'Submit Changes', I get the error (as above).
This is repeatable and goes away when status is set to
something other than '-no selection-'.
(or on an issue with a status, I set it to '-no selection-',
and then click on 'Submit Changes').
Hope this helps.
msg158 Author: [hidden] (richard) Date: 2002-03-14 07:13
Logged In: YES 
user_id=6405

Can't reproduce even using IE 5.5 here. Closing 'cos I'm 
out of ideas...

History
Date User Action Args
2002-01-14 22:36:11calciumcreate