[Zope-CMF] Re: better FSDTMLMethod tracebacks
Tres Seaver
tseaver@zope.com
Fri, 16 Nov 2001 07:55:27 -0500
seb bacon wrote:
> Tracebacks from FSDTMLMethod are rubbish at the moment, because the
> name of the files in which they occur is obscured by RestrictedDTML.
> This can be fixed by adding a self.__name__ = id to the FSObject class
> constructor. Should this be fixed in the CMF, or is this a wider Zope
> issue (e.g. DT_* methods should be raising the value id instead of
> __name__, or RestrictedDTML should be implemented differently, etc)?
I would fix it in the CMF; the interactions with '__name__' etc.
in the DocumentTemplate code are subtle.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com