Skip to content

Possible bug in template overriding #534

Description

@kgilden

Let's say we have 2 templates:

src/Acme/Bundle/AcmeBarBundle/Resources/views/Bar/index.html.twig
app/Resources/AcmeBarBundle/views/Invoice/index.html.twig

app/Resources/AcmeBarBundle/views/Invoice/index.html.twig source:

{% include 'AcmeBarBundle:Bar:index.html.twig' %}

One would accept the contents of AcmeBarBundle:Bar:index.html.twig get rendered. Instead, I receive a completely blank pages with no errors. The log file does not seem to have any errors inside it. Is this by design or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions