Comment 4 for bug 1002242

Revision history for this message
Ian Livingstone (6-contactme-l) wrote :

I've just installed the fixed version of zope.tales 3.5.2 from (http://pypi.python.org/pypi/zope.tales) but I still get a 'Compilation Failed' error when attempting to save the following :

<p tal:content="string:this template (${container/getId}) should compile even though this next expression is ${here/erroneous | string:correct}"/>

To get the template to compile I would have to change that to read :

<p tal:define="c1 container/getId; c2 here/erroneous | string:correct;" tal:content="string:this template :($c1) should compile even though this next expression is $c2"/>

However, I would really love to not have to go through ALL of my templates to rewrite these tales definitions and expressions so if anyone has found a fix to this problem (and can explain how to implement it) that would be amazing!