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

Show exception is checked twice in ExceptionController of twig#23268

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

@gmponos
Copy link
Contributor

QA
Branch?3.4
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PRN/A

I think that the $showException variable is checked twice. Check line 105 of the same file. Hope I did not miss anythings since the tests are passing.

@fabpot
Copy link
Member

Thank you@gmponos.

@fabpotfabpot closed thisJun 22, 2017
fabpot added a commit that referenced this pull requestJun 22, 2017
…twig (gmponos)This PR was submitted for the 3.4 branch but it was merged into the 2.7 branch instead (closes#23268).Discussion----------Show exception is checked twice in ExceptionController of twig| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | no| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->| BC breaks?    | no| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        | N/AI think that the $showException variable is checked twice. Check line 105 of the same file. Hope I did not miss anythings since the tests are passing.Commits-------a433cec Show exception is checked twice in ExceptionController of twig
@gmponosgmponos deleted the fix_double_check_show_exception branchJune 23, 2017 07:46
@xabbuh
Copy link
Member

I think the check is still needed for the case when$format is nothtml and there is no error template for the requested format (see#23283).

@gmponos
Copy link
ContributorAuthor

👊 You are right.

There should have been a test for this. Good thing you added it.

Maybe thisif should have been structured somehow different in order to make it clear. Anyway sorry for this after all.

fabpot added a commit that referenced this pull requestJun 24, 2017
This PR was merged into the 2.7 branch.Discussion----------[TwigBundle] add back exception check| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23268| License       | MIT| Doc PR        |#23268 introduced a regression in that the full exception page was not shown anymore in case a template for the given format (if not `html`) could not be found.Commits-------46c38df [TwigBundle] add back exception check
This was referencedJul 3, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@gmponos@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp