<p dir="auto">This issue relates to <a href="http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html" rel="nofollow">http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html</a></p>
<p dir="auto">If you choose to render your templates using namespaced paths</p>
<div class="highlight highlight-text-html-twig notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{% extends &quot;@AcmeDemo/layout.html.twig&quot; %}"><pre class="notranslate">{% <span class="pl-k">extends</span> <span class="pl-s"><span class="pl-pds">"</span>@AcmeDemo/layout.html.twig<span class="pl-pds">"</span></span> %}</pre></div>
<p dir="auto">It means that if you create a new bundle that AcmeDemo is the parent of, it does not prepend the child bundle paths.</p>
<p dir="auto">Eg, say I create AppDemoBundle which has a parent of AcmeDemoBundle it should check for the templates in @AppDemoBundle/layout.html.twig before it checks for @AcmeDemo/layout.html.twig</p>
<p dir="auto">By looking at the <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php#L75">code</a>, I am under the impression that the Bundle inheritance is not supported by the current code.</p>