[zope2-tracker] [Bug 142273] Re: ZPT: "python: CONTEXTS" gives NameError

LeoRochael leorochael at gmail.com
Fri Jan 29 14:10:52 EST 2010


This bug is once again affects Zope 2.12. It used to work on Zope 2.8
but stopped working at some point and now I have a ton of code affected
by it while trying to migrate.

It can be worked around with 'path("CONTEXT")', but it's a pain to
convert a bunch of TTW code in formulator instances, and the original
version should work. Steps to reproduce are as in the original
submission.

It works for path expressions because 'CONTEXTS' is hardcoded there,
instead of being added as a variable to the evaluation context.

** Changed in: zope2
   Importance: Low => Medium

** Changed in: zope2
       Status: Fix Released => Confirmed

-- 
ZPT: "python: CONTEXTS" gives NameError
https://bugs.launchpad.net/bugs/142273
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 mailing list