[Catalyst] Patch for Template Toolkit solves "stuck" TT errors

Bill Moseley moseley at hank.org
Tue Aug 1 20:47:18 CEST 2006

Andy Wardley provided a patch today for Template Toolkit for a problem
I've been having.  If you edit templates while your application is
running then it's probably of interest to you.

The problem is when a nested block has a syntax error and then
correcting that error leaves TT in an unstable state causing a new
error to be reported.  At that point the only solution is to restart the
Catalyst application (or re-create a new template object).

This is important for my application where it's common for templates
to get edited while the application is running.  So, obviously, it
is a problem if a simple typo in a template could put the
application into an error state requiring a restart of the

It's a simple fix:


Here's the thread that (kind of) describes the problem:


Bill Moseley
moseley at hank.org

More information about the Catalyst mailing list