[Templates] Developer Release 2.06e

Andy Wardley abw@kfs.org
Tue, 12 Mar 2002 20:23:59 +0000


On Tue, Mar 12, 2002 at 05:41:17PM +0000, Andy Wardley wrote:
> There's a new developer release, 2.06e, available from the web site.  
> 
>   http://www.tt2.org/download.html

I found a heinous bug.

With no stash variables set, a directive like: [% size %] returns 7.

Why?  Because it's being interpreted as [% stash.size %].

I can fix this by having the stash only fire virtual methods if the 
target isn't the stash root.  

So if you notice splash documentation looking strange then that's the 
reason why: 'size' is a variable used by splash to control text height,
etc., and having a rogue value appear as if by magic screws things up.

A