[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - Converters.py:1.18.6.1
Chris Withers
chrisw@nipltd.com
Fri, 13 Sep 2002 06:16:39 -0400
Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv2223/lib/python/ZPublisher
Modified Files:
Tag: Zope-2_6-branch
Converters.py
Log Message:
(merge to 2.6 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.18 => 1.18.6.1 ===
--- Zope/lib/python/ZPublisher/Converters.py:1.18 Wed Aug 14 18:09:40 2002
+++ Zope/lib/python/ZPublisher/Converters.py Fri Sep 13 06:16:38 2002
@@ -147,20 +147,21 @@
field2ulines = field2ulines()
type_converters = {
- 'float': field2float,
- 'int': field2int,
- 'long': field2long,
- 'string': field2string,
- 'date': field2date,
- 'required': field2required,
- 'tokens': field2tokens,
- 'lines': field2lines,
- 'text': field2text,
- 'boolean': field2boolean,
- 'ustring': field2ustring,
- 'utokens': field2utokens,
- 'ulines': field2ulines,
- 'utext': field2utext,
+ 'float': field2float,
+ 'int': field2int,
+ 'long': field2long,
+ 'string': field2string,
+ 'date': field2date,
+ 'required': field2required,
+ 'tokens': field2tokens,
+ 'lines': field2lines,
+ 'text': field2text,
+ 'boolean': field2boolean,
+ 'multiple selection': field2lines,
+ 'ustring': field2ustring,
+ 'utokens': field2utokens,
+ 'ulines': field2ulines,
+ 'utext': field2utext,
}
get_converter=type_converters.get