[ZCM] [ZC] 2277/ 1 Request "9 year old bug in DTML tags: in, tree, mime"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Thu, 08 Feb 2007 00:38:21 -0500
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #2277 Update (Request) "9 year old bug in DTML tags: in, tree, mime"
 Status Pending, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2277

==============================================================
= Request - Entry #1 by anthony on Feb 8, 2007 12:38 am


Uploaded:  "dtml_tm_bug.txt"
 - http://www.zope.org/Collectors/Zope/2277/dtml_tm_bug.txt/view
This is pretty funny, actually. The code for dtml-in, the TreeTag and MIMETag all has bugs that date back to *July 1998*, with the removal of the noddy function _tm from DT_Util:
http://svn.zope.org/Zope/trunk/lib/python/DocumentTemplate/DT_Util.py?rev=15368&r1=15280&r2=15368

The bugs are all in the error handling code, which is why I guess they weren't noticed until now. I've attached a patch - it's against 2.7.9, but the same bug is still in SVN head.


==============================================================