[ZCM] [ZC] 1095/ 1 Request "ZPT error message with leading / in path"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat Oct 25 23:34:59 EDT 2003


Issue #1095 Update (Request) "ZPT error message with leading / in path"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1095

==============================================================
= Request - Entry #1 by ianb on Oct 25, 2003 11:34 pm

If you use a path with a leading slash, you get an error like:

TAL.TALDefs.TALError: Invalid variable name "" in expression '/template/title', at line 13, column 7

This is a very confusing error.  I would suggest a change in Expressions.py:119, that it test if base is empty, and if so then use a message that warns people that leading slashes are not allowed.  
==============================================================




More information about the Zope-Collector-Monitor mailing list