30 Jul
2003
30 Jul
'03
5:34 p.m.
On Wed, 30 Jul 2003, Gilles Lenfant wrote:
Coming back for maintenance to a DTML site and noticed something strange...
<dtml-var standard_html_header> <dtml-call somethingThatDoesntExist> <dtml-var standard_html_footer>
...fails silently and does nothing ! I mean there is no AttributeError or such exception saying that there's no "somethingThatDoesntExist" object.
Is it a bug or a feature ?
As far as I know, this is a feature since the call returns no value. It is supposed to be silent since otherwise whatever it returned would be rendered on the page. For me, this isn't too much of a problem when debugging as 1: you can make it a dtml-var while debugging and 2: if there is an error, but no return I know to check my dtml-call - Paul