Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@javiereguiluz
Copy link
Member

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#22631
LicenseMIT
Doc PR-

If you create an application with Symfony Flex and don't install the TwigBundle explicitly, you see the exception pages like this:

before

This PR updates that page to match the style of the rest of exceptions:

after

For comparison, this is how the full exception page looks:

full-exception


Should I add the small black top header with the Symfony logo too?

ogizanagi, linaori, maidmaid, derrabus, fsevestre, abellion, Koc, ro0NL, sstok, and int99h reacted with thumbs up emojirobfrawley and sstok reacted with hooray emoji
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍

@xabbuh
Copy link
Member

Should I add the small black top header with the Symfony logo too?

If that's not too much work, I'd say yes. :)

ro0NL reacted with thumbs up emoji

@deflock
Copy link

Black header with logo may confuse when Debug is used as standalone component.
Will this be merged until 3.3 release?

@fabpot
Copy link
Member

@javiereguiluz Last call for 3.3 :)

@javiereguiluz
Copy link
MemberAuthor

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.

@fabpot
Copy link
Member

Thank you@javiereguiluz.

fabpot added a commit that referenced this pull requestMay 27, 2017
…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:![before](https://cloud.githubusercontent.com/assets/73419/26286531/3737f41c-3e68-11e7-8f1f-d9454bbc81f2.png)This PR updates that page to match the style of the rest of exceptions:![after](https://cloud.githubusercontent.com/assets/73419/26286534/488a2e4c-3e68-11e7-9d9e-8af8a478ff44.png)For comparison, this is how the full exception page looks:![full-exception](https://cloud.githubusercontent.com/assets/73419/26286535/56d69f26-3e68-11e7-8068-8334f045a63d.png)---Should I add the small black top header with the Symfony logo too?Commits-------bab4b9c Make the simple exception pages match the new style
@fabpotfabpot closed thisMay 27, 2017
@fabpotfabpot mentioned this pull requestMay 29, 2017
fabpot added a commit to silexphp/Silex that referenced this pull requestJun 2, 2017
This PR was squashed before being merged into the 2.1.x-dev branch (closes#1528).Discussion----------Fix exception hander testIn symfony 3.3.0, the markup of the error wording has been changed.symfony/symfony#228383.2.x`<h1>$title</h1>`3.3.0`<h1>$title</h1>`Therefore, in the symfony 3.3.0 environment, ExceptionHandlerTest fails.```1) Silex \ Tests \ ExceptionHandlerTest :: testExceptionHandlerExceptionNoDebugFailed asserting that '<! DOCTYPE html>...Contains "<h1> Whoops, looks like something went wrong. </h1>".```https://github.com/symfony/symfony/pull/22838/files#diff-5a9ac37e71d14aa261fe6f68848a6277L42I deleted `<h1>` by referring to it.Commits-------69e2771 Fix exception hander test
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

6 participants

@javiereguiluz@xabbuh@deflock@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp