-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Make the simple exception pages match the new style #22838
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
If that's not too much work, I'd say yes. :) |
Black header with logo may confuse when Debug is used as standalone component. |
@javiereguiluz Last call for 3.3 :) |
If we don't want to add the black header ... this should be finished. @deflock has a good point about not adding that header. I'm divided about that. |
Thank you @javiereguiluz. |
…aviereguiluz) This PR was squashed before being merged into the 3.3 branch (closes #22838). Discussion ---------- Make the simple exception pages match the new style | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22631 | License | MIT | Doc PR | - If you create an application with Symfony Flex and don't install the TwigBundle explicitly, you see the exception pages like this:  This PR updates that page to match the style of the rest of exceptions:  For comparison, this is how the full exception page looks:  --- Should I add the small black top header with the Symfony logo too? Commits ------- bab4b9c Make the simple exception pages match the new style
This PR was squashed before being merged into the 2.1.x-dev branch (closes #1528). Discussion ---------- Fix exception hander test In symfony 3.3.0, the markup of the error wording has been changed. symfony/symfony#22838 3.2.x `<h1>$title</h1>` 3.3.0 `<h1 class="break-long-words exception-message">$title</h1>` Therefore, in the symfony 3.3.0 environment, ExceptionHandlerTest fails. ``` 1) Silex \ Tests \ ExceptionHandlerTest :: testExceptionHandlerExceptionNoDebug Failed asserting that '<! DOCTYPE html> ... Contains "<h1> Whoops, looks like something went wrong. </h1>". ``` https://github.com/symfony/symfony/pull/22838/files#diff-5a9ac37e71d14aa261fe6f68848a6277L42 I deleted `<h1>` by referring to it. Commits ------- 69e2771 Fix exception hander test
If you create an application with Symfony Flex and don't install the TwigBundle explicitly, you see the exception pages like this:
This PR updates that page to match the style of the rest of exceptions:
For comparison, this is how the full exception page looks:
Should I add the small black top header with the Symfony logo too?