Embed tag inside extended template seems to be broken
The following template is supposed to work: https://twigfiddle.com/l3d401
It seems, that the template path/name resolution is not working as expected (TwingErrorLoader: Unable to find template). Instead of the correct template element.twig the embedded template is resolved to main.twig.
I can provide a working (or in this case not working) example, if required.
I investigated this issue a bit further: The problem occurs if you provide a relative path to the render method. I have created a repository to illustrate the bug. This used to work somewhere around version 3.0.0.
Hello, @ofabel have you any workaround on this?
@dawidskowron , is it still happening with Twing 5? If so, I have to fix this.
Hello, @ofabel have you any workaround on this?
Our workaround at the moment is not to use this feature. So yes, it is still broken in version 5.
Not reproducible anymore with either Twing@5 or Twing@6.