[Zope-CMF] [dev] 'request' in expression context
Dieter Maurer
dieter at handshake.de
Thu Apr 27 14:52:44 EDT 2006
yuppie wrote at 2006-4-26 18:25 +0200:
>In createExprContext 'request' is currently set to getattr(object,
>'REQUEST', None). 'object' might be None, making 'request' None as well.
>
>Would anybody mind if I change that to getattr(portal, 'REQUEST', None)?
>
>AFAICS portal is always available and can acquire REQUEST.
>
>
>If there are no objections I'll fix this in CMF 1.5, 1.6, 2.0 and trunk.
A very good idea!
--
Dieter
More information about the Zope-CMF
mailing list