Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TemplateNameParser breaks compatibility in 2.7.10 #17958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hcomnetworkers opened this issue Feb 29, 2016 · 2 comments
Closed

TemplateNameParser breaks compatibility in 2.7.10 #17958

hcomnetworkers opened this issue Feb 29, 2016 · 2 comments

Comments

@hcomnetworkers
Copy link

Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser received a new regular expression in 2.7.10, breaking the use of template names that are not in Resources/views.

E.g. a template in "src/My/SuperBundle/Whatever/Template.html.twig" could be found with "@MySuperBundle/Whatever/Template.html.twig" as template name until 2.7.9.

As of 2.7.10 the new regex in the TemplateNameParser matches said template name and thus does not use the parent's parse method of Symfony\Component\Templating\TemplateNameParser effectively not finding the template anymore.

This should not have happened in a minor release.

@robfrawley
Copy link
Contributor

Duplicate. See pull request #17894 and issue #17683.

@hcomnetworkers
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants