1.18 breaks assetic dumps
So we have an embed that includes some JS and some SASS. Something like this
{% embed 'MyBundle:Form:baseForm.html.twig' %}
{% block custom_css %}
{{ parent() }}
{% stylesheets filter='compass' output='bundles/mybundle/css/mysass.css'
'@MyBundle/Resources/public/sass/mySass.scss' %}
<link rel="stylesheet" href="{{ asset_url }}">
{% endstylesheets %}
{% endblock %}
{% block below_main_panel %}
<CONTENT HERE>
{% endblock %}
{% block custom_js %}
{{ parent() }}
{% javascripts output='bundles/mybundle/js/myForm.js'
'@MyBundle/Resources/public/js/form.js' %}
<script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endblock %}
{% endembed %}
Since the 1.18 update the javascripts and stylesheets blocks are being ignored by php app/console assetic:dump
Can you confirm that #1616 fixes this issue?
@Rhonun Do you perhaps have LiipThemeBundle installed?
https://github.com/liip/LiipThemeBundle/issues/114
I do not. When the javascripts and stylesheets declarations are outside of the embed they work. It's when they are inside of it that they don't
Closing as nobody reported the same problem in the last 6 months. Feel free to reopen if you can provide a small snippet that reproduces the problem.