[Checkins] SVN: z3c.wizard/trunk/ - do not override name argument because the addStep method can set them.
Roger Ineichen
roger at projekt01.ch
Fri Sep 11 21:51:12 EDT 2009
Log message for revision 103856:
- do not override name argument because the addStep method can set them.
The latest changes in z3c.form will run into an error because of using
self.name.replace('.', '-') for id lookup instead of self.prefix.strip('.')
like before.
- adjust tests, it will render the name argument by default now because it's
not None by default anymore.
Changed:
U z3c.wizard/trunk/CHANGES.txt
U z3c.wizard/trunk/src/z3c/wizard/README.txt
U z3c.wizard/trunk/src/z3c/wizard/step.py
-=-
Modified: z3c.wizard/trunk/CHANGES.txt
===================================================================
--- z3c.wizard/trunk/CHANGES.txt 2009-09-12 00:58:00 UTC (rev 103855)
+++ z3c.wizard/trunk/CHANGES.txt 2009-09-12 01:51:11 UTC (rev 103856)
@@ -5,7 +5,8 @@
0.7.1 (unreleased)
------------------
-- Nothing changed yet.
+- bugifx for z3c.form changes. Removed name definition in Step class. This
+ will prevent to run into an error based on the latest z3c.form changes.
0.7.0 (2009-08-15)
Modified: z3c.wizard/trunk/src/z3c/wizard/README.txt
===================================================================
--- z3c.wizard/trunk/src/z3c/wizard/README.txt 2009-09-12 00:58:00 UTC (rev 103855)
+++ z3c.wizard/trunk/src/z3c/wizard/README.txt 2009-09-12 01:51:11 UTC (rev 103856)
@@ -197,7 +197,7 @@
</div>
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
- id="form">
+ name="form" id="form">
<div class="viewspace">
<div class="label">Person</div>
<div class="required-info">
@@ -325,7 +325,7 @@
</div>
<form action="http://127.0.0.1" method="post"
enctype="multipart/form-data" class="edit-form"
- id="form">
+ name="form" id="form">
<div class="viewspace">
<div class="label">Address</div>
<div class="required-info">
Modified: z3c.wizard/trunk/src/z3c/wizard/step.py
===================================================================
--- z3c.wizard/trunk/src/z3c/wizard/step.py 2009-09-12 00:58:00 UTC (rev 103855)
+++ z3c.wizard/trunk/src/z3c/wizard/step.py 2009-09-12 01:51:11 UTC (rev 103856)
@@ -66,7 +66,6 @@
zope.interface.implements(interfaces.IStep)
- name = None
label = None
available = True
visible = True
More information about the checkins
mailing list