Skip to content

Commit c809be8

Browse files
author
Richard Jones
committed
fix string props and required flag
1 parent 89d91b7 commit c809be8

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ are given with the most recent entry first.
55
- fixed Interval maths (sf bug 665357)
66
- fixed sqlite rollback/caching bug (sf bug 689383)
77
- fixed rdbms table update detection logic (sf bug 703297)
8+
- required String properties not being flagged (thanks Ajit George)
89

910

1011
2003-02-27 0.5.6

doc/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Duncan Booth,
5555
Seb Brezel,
5656
Titus Brown,
5757
Roch'e Compaan,
58+
Ajit George,
5859
Engelbert Gruber,
5960
Juergen Hermann,
6061
Tobias Hunger,

roundup/cgi/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.65.2.4 2003-02-08 23:03:36 richard Exp $
1+
# $Id: client.py,v 1.65.2.5 2003-03-15 23:30:07 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -1236,6 +1236,8 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')):
12361236
if isinstance(proptype, hyperdb.String):
12371237
# fix the CRLF/CR -> LF stuff
12381238
value = fixNewlines(value)
1239+
if not value:
1240+
value = None
12391241
elif isinstance(proptype, hyperdb.Password):
12401242
if not value:
12411243
# ignore empty password values

0 commit comments

Comments
 (0)