Roundup Tracker - Issues

Issue 1608200

classification
boolean form fields are incorrectly handled if @required
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed
:
: richard : richard, stefan
Priority: normal :

Created on 2006-12-04 01:13 by stefan, last changed 2006-12-11 23:17 by richard.

Messages
msg2363 Author: [hidden] (stefan) Date: 2006-12-04 01:13
At roundup/cgi/form_parser.py:468

roundup checks for 'value's boolean value to determine
whether the property in question has been provided.
However, if the property is of type Boolean, and the
provided value is False, the property is treated as if
it wasn't present in the form.

It should be compared against 'None' instead.
msg2364 Author: [hidden] (richard) Date: 2006-12-11 23:17
Thanks, fixed.
History
Date User Action Args
2006-12-04 01:13:36stefancreate