[Zope-CMF] NameError: on global name 'context' is not defined
Chris Withers
chrisw@nipltd.com
Tue, 11 Jun 2002 16:47:33 +0100
> At a guess, do you have a (FS)PythonScript which is stored with
> a special binding? E.g.::
>
> ## Script (Python) "addtoFavorites"
> ##title=Add item to favourites
> ##bind namespace=_
> ##parameters=
>
> If so, and if the body uses any of the "standard" bindings, they may be
> stomped unless you re-bind them directly. That header *should* be::
>
> ## Script (Python) "addtoFavorites"
> ##title=Add item to favourites
> ##bind container=container
> ##bind context=context
> ##bind namespace=_
> ##bind script=script
> ##bind subpath=traverse_subpath
> ##parameters=
This feels like a bug to me. Where should I report it and how do I go
aboutfixing it?
cheers,
Chris