Macros occasionally not parsing

2009-05-18 Thread Will Glass-Husain
Hi, I'm having problems with templates that are occasionally not parsing macros. The macro appears literally in the body of the result: #somemacro($argument) The error occurs under load in a webapp (e.g. when the same template is being retrieved simultaneously). I know it's not a template erro

Re: Macros occasionally not parsing

2009-05-18 Thread Nathan Bubna
I haven't seen this with 1.6.2, but none of my current projects are under any load (yet). Just to clarify, is the macro defined and used in the template or just used in the template? And for completeness, what are your macro settings? On Mon, May 18, 2009 at 12:58 PM, Will Glass-Husain wrote: >

Re: Macros occasionally not parsing

2009-05-18 Thread Will Glass-Husain
Thanks, The macro is defined in the template. It looks like: #set($rounds = $currRound - 1) #macro(Dataset $decn $label $color $width) #foreach($step in [0..$rounds]) #end #end and the call like this: #Dataset($d

Re: Macros occasionally not parsing

2009-05-18 Thread Nathan Bubna
Sorry, thought of a few more things to clarify... When the problem appears, you are actually seeing this in the output: #Dataset($decision, $decision, "$GraphColorList.get(5)", "2") Right? And this happens when the same template is being retrieved in multiple threads at the same time? And has/