malthe/chameleon — Issue #88: compilation error
Author: fafhrd91
Created: 2012-01-25 22:26:10+00:00
State: open

i'm not sure if this bug should be fixed in chameleon or in template

this code generates error:

```

Some content in the subject, email source, email recipient and message
may be replaced with "${}" variables from the table below.

```

https://github.com/plone/plone.app.contentrules/blob/master/plone/app/contentrules/actions/templates/mail.pt

```python
Traceback (innermost last):

Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module zope.formlib.form, line 800, in __call__
Module zope.formlib.form, line 790, in render
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 126, in pt_render
Warning: Compilation failed
Warning: exceptions.KeyError: 'variable'
```