[zope2-tracker] [Bug 541480] [NEW] "zope.formlib" integration (via Five): missing acquisition wrapping in action called methods
dieter at handshake.de
Thu Mar 18 16:27:28 EDT 2010
Public bug reported:
Inside form methods called by an action ("success", "failure", ... handler), the "self" (the form) is not acquisition wrapped.
As a consequence, such methods cannot reliably use "Products.Five.browser.pagetemplatefile.ViewPageTemplateFile"
(and probably other Zope2 templates and script which rely on acquisition).
The loss happens in the descriptor use of class
"zope.formlib.form.Actions" in "zope.formlib.form": without special
care, the acquisition context is lost for accesses through descriptors.
** Affects: zope2
** Tags: 2.10.9 five
"zope.formlib" integration (via Five): missing acquisition wrapping in action called methods
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker