[Zope] Strange Infinite Recursions

Christopher J. Kucera ckucera@globalcrossing.com
Mon, 08 May 2000 12:02:23 -0500


> If I create a DTML method called 'method' containing only:
> 
> <dtml-if 'method'>
>  There is always true
> </dtml-if>
> 
> I get:
> 
>   Error Type: SystemError
>   Error Value: infinite recursion in document template

Try:
  <dtml-if "method">
    Always true
  </dtml-if>

Without the quotes, you're calling the method, which then calls the
method, which then calls the method . . .  With the quotes you're just
evaluating it's existence.

-CJ