Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Templates not found in Symfony 4.1 #12

@lbm-services

Description

@lbm-services

After upgrading from Symfony 3.3 to 4.1 with Flex I found my custom beelab templates were not found until I changed the bundle subdirectory to lowercase

Symfony 3.3. path:
/app/Resources/BeelabUserBundle/views/Auth/login.html.twig

working Symfony 4.1 path:
/templates/bundles/BeelabUserBundle/auth/login.html.twig

NOT working Symfony 4.1 path:
/templates/bundles/BeelabUserBundle/Auth/login.html.twig

Since I did not overwrite every beelab template I get this error:

Unable to find template "@BeelabUser/user/new.html.twig" (looked into: /usr/share/nginx/html/symfony4.1/templates/bundles/BeelabUserBundle, /usr/share/nginx/html/symfony4.1/vendor/beelab/user-bundle/Resources/views).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions