Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2014.07, 5.3.3, 5.4-dev
Description
When trying to do something like this:
{% include [ 'NetgenSiteBundle:parts:' ~ template ~ '.html.twig', 'design:parts/' ~ template ~ '.tpl', 'design:parts/default.tpl' ] ignore missing with { 'location': location, 'node': location } %}
And first two templates do not exist, but the third one does, nothing will be rendered, while third template should be rendered.
What happens is that legacy rendering engine does not recognize a missing legacy template properly and instead returns an empty string to be rendered.