Description
Symfony version(s) affected: 4.4-dev
Description
#33271 introduced an error controller that renders error pages for exceptions. Before that, TwigBundle rendered error pages and if that bundle was missing, the exception bubbled up to the code that called Kernel::handle()
.
The new behavior might be more consistent, however it breaks tests that relied on the old behvior, like this one from SecurityBundle 4.3:
The test fails if FrameworkBundle 4.4 is installed and if I downgrade FrameworkBundle to 4.3, the test is green.
PR #33271 patches the test on the 4.4 branch to parse the error page instead of catching the exception, but we cannot do that on 4.3 because then the test would not work with FrameworkBundle 4.3 anymore.
Also, this kind of looks like a BC break to me. Userland tests might run into similar issues.
ping @yceruto
How to reproduce
https://travis-ci.org/symfony/symfony/jobs/580647626