[Checkins] SVN: grok/branches/0.11/ port fix from revision 85215 to
grok 0.11
Christian Theune
ct at gocept.com
Mon Apr 28 10:51:26 EDT 2008
Log message for revision 85805:
port fix from revision 85215 to grok 0.11
Changed:
U grok/branches/0.11/CHANGES.txt
U grok/branches/0.11/src/grok/formlib.py
-=-
Modified: grok/branches/0.11/CHANGES.txt
===================================================================
--- grok/branches/0.11/CHANGES.txt 2008-04-28 14:38:04 UTC (rev 85804)
+++ grok/branches/0.11/CHANGES.txt 2008-04-28 14:51:25 UTC (rev 85805)
@@ -7,7 +7,8 @@
Bug fixes
---------
-* ...
+* Port fix of zope.formlib to correctly adapt the context to a FormField's
+ interface, not the field'
0.11.1 (2008-01-20)
===================
Modified: grok/branches/0.11/src/grok/formlib.py
===================================================================
--- grok/branches/0.11/src/grok/formlib.py 2008-04-28 14:38:04 UTC (rev 85804)
+++ grok/branches/0.11/src/grok/formlib.py 2008-04-28 14:51:25 UTC (rev 85805)
@@ -86,7 +86,7 @@
for form_field in form_fields:
field = form_field.field
# Adapt context, if necessary
- interface = field.interface
+ interface = form_field.interface
adapter = adapters.get(interface)
if adapter is None:
if interface is None:
More information about the Checkins
mailing list