[Checkins] SVN: z3c.wizard/trunk/ Allowing in step complete check that values are not existing on context. This is consistent with the way `z3c.form` handles not existing values.
Michael Howitz
mh at gocept.com
Fri Oct 28 21:02:54 UTC 2011
Log message for revision 123174:
Allowing in step complete check that values are not existing on context. This is consistent with the way `z3c.form` handles not existing values.
Changed:
U z3c.wizard/trunk/CHANGES.txt
U z3c.wizard/trunk/src/z3c/wizard/step.py
-=-
Modified: z3c.wizard/trunk/CHANGES.txt
===================================================================
--- z3c.wizard/trunk/CHANGES.txt 2011-10-28 08:24:29 UTC (rev 123173)
+++ z3c.wizard/trunk/CHANGES.txt 2011-10-28 21:02:54 UTC (rev 123174)
@@ -8,6 +8,10 @@
- Using Python's ``doctest`` module instead of depreacted
``zope.testing.doctest``.
+- Allowing in step complete check that values are not existing on
+ context. This is consistent with the way `z3c.form` handles not existing
+ values.
+
0.9.0 (2009-12-29)
------------------
Modified: z3c.wizard/trunk/src/z3c/wizard/step.py
===================================================================
--- z3c.wizard/trunk/src/z3c/wizard/step.py 2011-10-28 08:24:29 UTC (rev 123173)
+++ z3c.wizard/trunk/src/z3c/wizard/step.py 2011-10-28 21:02:54 UTC (rev 123174)
@@ -122,7 +122,8 @@
continue
dm = zope.component.getMultiAdapter(
(content, field.field), IDataManager)
- if dm.get() is field.field.missing_value:
+ if dm.query(
+ field.field.missing_value) is field.field.missing_value:
return False
return True
More information about the checkins
mailing list