[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - Converters.py:1.14.8.2
Chris Withers
chrisw@nipltd.com
Fri, 13 Sep 2002 06:07:15 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv1108/lib/python/ZPublisher
Modified Files:
Tag: Zope-2_5-branch
Converters.py
Log Message:
(merge to 2.5 branch)
Fixed bug in manage_editProperties which used an incorrect default for several types of property when they were not found in the REQUEST.
=== Zope/lib/python/ZPublisher/Converters.py 1.14.8.1 => 1.14.8.2 ===
--- Zope/lib/python/ZPublisher/Converters.py:1.14.8.1 Thu Aug 1 12:00:59 2002
+++ Zope/lib/python/ZPublisher/Converters.py Fri Sep 13 06:06:44 2002
@@ -120,16 +120,17 @@
return v
type_converters = {
- 'float': field2float,
- 'int': field2int,
- 'long': field2long,
- 'string': field2string,
- 'date': field2date,
- 'required': field2required,
- 'tokens': field2tokens,
- 'lines': field2lines,
- 'text': field2text,
- 'boolean': field2boolean,
+ 'float': field2float,
+ 'int': field2int,
+ 'long': field2long,
+ 'string': field2string,
+ 'date': field2date,
+ 'required': field2required,
+ 'tokens': field2tokens,
+ 'lines': field2lines,
+ 'text': field2text,
+ 'boolean': field2boolean,
+ 'multiple selection': field2lines,
}
get_converter=type_converters.get