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

Templates not found in Symfony 4.1 #12

Open
lbm-services opened this issue Oct 5, 2018 · 1 comment
Open

Templates not found in Symfony 4.1 #12

lbm-services opened this issue Oct 5, 2018 · 1 comment

Comments

@lbm-services
Copy link

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).

@garak
Copy link
Member

garak commented Oct 5, 2018

Do you think this can be solved inside this bundle?

dodubassman added a commit to umanit/BeelabUserBundle that referenced this issue Oct 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants