-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Template Error #13311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
fyi, this is occurring on v2.6.3 on the Symfony Standard version as well. To replicate install https://github.com/symfony/symfony-standard v2.6.3 Go to "/app/example" and the page will display. Now, open base.html.twig and change: {% block stylesheets %}{% endblock %} to: {% block stylesheets %}
{% stylesheets filter='cssrewrite,?yui_css'
'bundles/framework/css/body.css'
%}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
{% endblock stylesheets %} You will now get the error. |
Have you tried to use the latest version of Assetic as @stof mentioned that he fixed the issue? |
@fabpot, there was a commit for it here symfony/assetic-bundle@ae29934 I have tried forcing ~1.3@dev and dev-master but I still get the same error. Looks like this might be better suited in the assetic repo. Let me know if you would like me to close this issue. |
Let's keep this issue open until we find out how to fix this problem. @stof Can you have a look? |
Interesting issue. Somehow one project runs successfully with newest Symfony and Assetic bundle versions, another fails on all Assetic blocks in template. |
@trsteel88 I can confirm the same error when using the following dependencies: "symfony/symfony": "2.6.3",
"symfony/assetic-bundle": "~2.3", But when I change them for the following, everything works again: "symfony/symfony": "2.6.3",
"symfony/assetic-bundle": "dev-master", |
@javiereguiluz same for me. I have replaced So, why there is no any information in documentation or version of the |
Hmmm looks like I was updating the component instead of the bundle. Will give this a go when I'm back at a computer. |
yes, same bug here. I chose to stay with symdony 2.6.1 cause I prefer not to play with @dev versions. |
Same issue in the LTS Bad to know that when I do some |
I'm having this issue with LTS 2.3 too, just after a |
This has been resolved with the stable release of AsseticBundle v2.6.0 (https://github.com/symfony/AsseticBundle/releases/tag/v2.6.0) |
Since updating from v2.6.1 to v2.6.3 I am getting the following exception:
template.html.twig extends:
May relate to a835b18, #12894, https://github.com/symfony/AsseticBundle/issues/331
The text was updated successfully, but these errors were encountered: