[Zope] REQUEST.items() problem

Dieter Maurer dieter@handshake.de
Wed, 31 Oct 2001 20:40:21 +0100


Juan Garcia Garcia writes:
 > >     <dtml-in "REQUEST.other.items()"> ...
 > I've tried already what you say and i get the same problem.
 > I suppose that REQUEST.items() iterates over the categories 'form',
 > 'cookies', 'other' and 'environ', and when it reaches to 'other' the
 > computer overloads.
There is no reason to overload for "other.items", as it is a normal
Python dictionary. I expect the problem to be in the rendering
of one of the objects, you get...

Try to only use "sequence-key" inside your dtml-in, not the "sequence-item".
If that works (and I am almost sure it will), then we need to
find the dangerous element. It might be "PUBLISHED".
It is the published object itself, and when you just render it,
you get an infinite loop....


Dieter