[Checkins] SVN: z3c.formdemo/trunk/ Provide optionalChoice field in the content type. Pre-1.3.0 releases of

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Jun 25 08:57:24 EDT 2007


Log message for revision 77034:
  Provide optionalChoice field in the content type. Pre-1.3.0 releases of
  z3c.form simply ignored missing fields, but the latest version reports
  the error.
  

Changed:
  U   z3c.formdemo/trunk/CHANGES.txt
  U   z3c.formdemo/trunk/setup.py
  U   z3c.formdemo/trunk/src/z3c/formdemo/widgets/browser.py

-=-
Modified: z3c.formdemo/trunk/CHANGES.txt
===================================================================
--- z3c.formdemo/trunk/CHANGES.txt	2007-06-25 11:16:34 UTC (rev 77033)
+++ z3c.formdemo/trunk/CHANGES.txt	2007-06-25 12:57:23 UTC (rev 77034)
@@ -2,10 +2,17 @@
 CHANGES
 =======
 
+Version 1.1.2 (6/25/2007)
+-------------------------
+
+- Bug: Provide optionalChoice field in the content type. Pre-1.3.0 releases of
+  ``z3c.form`` simply ignored missing fields, but the latest version reports
+  the error. Thanks to Luke Miller for the report.
+
 Version 1.1.1 (6/24/2007)
 -------------------------
 
-- Fix: Add new ``zope.rdb`` dependency to the setup and buildout
+- Bug: Add new ``zope.rdb`` dependency to the setup and buildout
   configuration.
 
 Version 1.1.0 (6/22/2007)

Modified: z3c.formdemo/trunk/setup.py
===================================================================
--- z3c.formdemo/trunk/setup.py	2007-06-25 11:16:34 UTC (rev 77033)
+++ z3c.formdemo/trunk/setup.py	2007-06-25 12:57:23 UTC (rev 77034)
@@ -23,7 +23,7 @@
 
 setup (
     name='z3c.formdemo',
-    version='1.1.1',
+    version='1.1.2',
     author = "Stephan Richter, Roger Ineichen and the Zope Community",
     author_email = "zope3-dev at zope.org",
     description = "A set of demo applications for z3c.form and z3c.formui",

Modified: z3c.formdemo/trunk/src/z3c/formdemo/widgets/browser.py
===================================================================
--- z3c.formdemo/trunk/src/z3c/formdemo/widgets/browser.py	2007-06-25 11:16:34 UTC (rev 77033)
+++ z3c.formdemo/trunk/src/z3c/formdemo/widgets/browser.py	2007-06-25 12:57:23 UTC (rev 77034)
@@ -44,6 +44,8 @@
     bytesField = FieldProperty(interfaces.IAllFields['bytesField'])
     bytesLineField = FieldProperty(interfaces.IAllFields['bytesLineField'])
     choiceField = FieldProperty(interfaces.IAllFields['choiceField'])
+    optionalChoiceField = FieldProperty(
+        interfaces.IAllFields['optionalChoiceField'])
     dateField = FieldProperty(interfaces.IAllFields['dateField'])
     datetimeField = FieldProperty(interfaces.IAllFields['datetimeField'])
     decimalField = FieldProperty(interfaces.IAllFields['decimalField'])



More information about the Checkins mailing list