[Zope-Coders] DocumentTemplate owner

Andreas Jung andreas@andreas-jung.com
Fri, 5 Oct 2001 08:35:58 -0400


----- Original Message -----
From: "Steve Alexander" <steve@cat-box.net>
To: "Steve Alexander" <steve@cat-box.net>
Cc: <zope-coders@zope.org>
Sent: Friday, October 05, 2001 08:11
Subject: Re: [Zope-Coders] DocumentTemplate owner


> Steve Alexander wrote:
>
> > Hi folks,
> >
> > Who owns DocumentTemplate?
> >
> > As part of my work on tidying up the ZCatalog API, I've revealed a bug
> > in dtml-except.
> >
> > I'm in the middle of tracking this down now, but I'd like to talk
> > directly with the owner, rather than wasting everyone's bandwidth here
:-)
>
>
> Found the bug anyway. I think it creeped in when converting
> DocumentTemplate to use string methods rather string module functions.
>
> Line 201 of DT_Try.py should be:
>
>    if nargs.strip()=='':
>
> rather than
>
>    if nargs.split()=='':
>
> Made that same mistake myself plenty of times!

I introduced the bug in the trunk :-( The branch is untouched.

>
>
> Oh well... I'll add that fix to my ZCatalog work, check the source for
> more of the same problem, and look at improving the test suite to test
> that bare <dtml-except> tags work.

I will fix this problem directly in the trunk..
Andreas