[zope2-tracker] [Bug 1542031] [NEW] 2.13.23 broken in resolving <dtml-var> tags

Dieter Stubler dieter.stubler at independit.de
Thu Feb 4 21:52:36 CET 2016


Public bug reported:

Easy to reproduce
Create a python script bug  just containing:

return 1

Create a dmtl-document 'test'with in the same folder containing:

<dtml-var "bug()">

and a python script bug in the same folder:

return 1

view it in 2.13.22 and earlier just gives you

1

But 2.13.23 chokes on hat:

Site Error

An error was encountered while publishing this resource.

Error Type: NameError
Error Value: name 'bug' is not defined

And the error log:

Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module OFS.DTMLDocument, line 98, in __call__
   - <DTMLDocument at /BUG/test>
   - URL: http://localhost:8080/BUG/test/manage_main
   - Physical Path: /BUG/test
  Module DocumentTemplate.DT_String, line 477, in __call__
  Module DocumentTemplate.DT_Util, line 210, in eval
   - __traceback_info__: bug
  Module <string>, line 1, in <expression>
NameError: name 'bug' is not defined

This is a complete killer and not just a flaw, it makes our whole web
interface unusable

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/1542031

Title:
  2.13.23 broken in resolving <dtml-var> tags

To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/1542031/+subscriptions


More information about the zope2-tracker mailing list