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

[HttpKernel] Increase priority of AddRequestFormatsListener#29186

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

Conversation

@thewilkybarkid
Copy link
Contributor

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

CurrentlyAddRequestFormatsListener has a low priority, so it won't fire before others likeRouterListener which can create problems (eg when listening for a HTTP exception thrown by the router you don't have access for any custom types).

IMO this map should be in the application rather than set on every request, but the same can be achieved by giving it a high priority. (Can't think of a reason for it to not be first...)

ro0NL reacted with thumbs up emoji
@nicolas-grekas
Copy link
Member

Should target 3.4 now.

@nicolas-grekasnicolas-grekas modified the milestones:2.8,3.4Nov 26, 2018
@thewilkybarkid
Copy link
ContributorAuthor

Seems that a final 2.8 release is coming? (Just has another PR merged.)

@nicolas-grekas
Copy link
Member

Yes, but since this is going to be the final one, we shouldn't merge behavior changes that have even a slight breaking potential. So it's safer for 3.4 now.

thewilkybarkid and rpkamp reacted with thumbs up emoji

@fabpot
Copy link
Member

As there is a potential BC break, this should be done in master.

@chalasrchalasr modified the milestones:3.4,nextDec 12, 2018
@thewilkybarkidthewilkybarkid changed the base branch from2.8 tomasterDecember 13, 2018 10:17
@thewilkybarkidthewilkybarkidforce-pushed therequest-formats-listener-priority branch from7e9e2c3 to9bf3136CompareDecember 13, 2018 10:20
@fabpot
Copy link
Member

Thank you@thewilkybarkid.

@fabpotfabpot merged commit9bf3136 intosymfony:masterJan 2, 2019
fabpot added a commit that referenced this pull requestJan 2, 2019
…tener (thewilkybarkid)This PR was merged into the 4.3-dev branch.Discussion----------[HttpKernel] Increase priority of AddRequestFormatsListener| Q             | A| ------------- | ---| Branch?       | 2.8| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#19469| License       | MIT| Doc PR        |Currently `AddRequestFormatsListener` has a low priority, so it won't fire before others like `RouterListener` which can create problems (eg when listening for a HTTP exception thrown by the router you don't have access for any custom types).IMO this map should be in the application rather than set on every request, but the same can be achieved by giving it a high priority. (Can't think of a reason for it to not be first...)Commits-------9bf3136 Increase priority of AddRequestFormatsListener
fabpot added a commit that referenced this pull requestJan 2, 2019
…kid)This PR was merged into the 4.3-dev branch.Discussion----------[HttpKernel] Set the default locale early| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Similar to#29186, the default locale isn't set till after the router so isn't available when trying to handle errors there (well, only the _default_ default locale is).Commits-------02c9f35 Set the default locale early
@thewilkybarkidthewilkybarkid deleted the request-formats-listener-priority branchJanuary 2, 2019 11:11
@nicolas-grekasnicolas-grekas modified the milestones:next,4.3Apr 30, 2019
@fabpotfabpot mentioned this pull requestMay 9, 2019
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

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

6 participants

@thewilkybarkid@nicolas-grekas@fabpot@xabbuh@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp