schmittjoh/JMSTwigJsBundle — Issue #2: Q: Twig_Error_Runtime when dumping assets
Author: minixxie
Created: 2011-12-14 08:49:27+00:00
State: open

Hi all,

When I'm following the doc:
1) add a name in my twig template file: {% twig_js name="Kuulabu_kuulabuListItemTemplate" %}
2) add this:
{% javascripts "@KuulabuKuulabuBundle/Resources/views/Kuulabu/kuulabuListItemTemplate.html.twig"
filter="twig_js" %}

{% endjavascripts %}

3) when I issue the dump asset command: php app/console assetic:dump --env=prod --no-debug, I got:

[Twig_Error_Runtime]
Attribute "safe" does not exist for Node "Twig_Node_Set" in "Resources\/views\/Kuulabu\/kuulabuListItemTemplate.html.twig".

assetic:dump [--watch] [--force] [--period="..."] [write_to]

Any ideas? Many Thanks.

Simon