"zope.formlib" integration (via Five): missing acquisition wrapping in action called methods

Bug #541480 reported by Dieter Maurer on 2010-03-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2

Bug Description

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.

Changed in zope2:
importance: Undecided → Low
status: New → Confirmed
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers