include parent with snippetArea

dkorpar
Member | 135
+
0
-

This used to work till latte 2.9

if U had snippetArea in parent

you could write something as

{snippetArea area}
whatever
    {include parent}
{/area}

currently this is throwing exception

Cannot include parent block outside of any block in

Is this expected behavior now or a bug?

Last edited by dkorpar (2020-12-02 12:13)

David Grudl
Nette Core | 8218
+
0
-

Inheritance in snippets? It worked as an unwanted side effect I think…

dkorpar
Member | 135
+
0
-

Yeah, I didnt know also that this work, but one college used it when overriding some 3rd party component template, worked fine and now crashed after update. Weve already updated so it doesnt depend on it anymore but it was wierd moment and I was not sure where the issue is…