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

Change priority of KernelEvents::RESPONSE subscriber#36789

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

Merged

Conversation

@marcw
Copy link
Contributor

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
LicenseMIT

This PR changes the priority of theKernelEvents::RESPONSE subscriber of theProfilerListener so that it is the penultimate to be executed (just beforeStreamedResponseListener).

The reason is that other listeners that were executed after this one CAN change the response (such asSessionListener for example). This creates a headache when debugging, with a discrepancy between what is shown in a curl command, and by the Symfony profiler.

@fabpotfabpotforce-pushed themake-profiler-listener-penultimate branch froma379912 to6ed624aCompareMay 14, 2020 09:30
@fabpot
Copy link
Member

Thank you@marcw.

marcw reacted with thumbs up emoji

@fabpotfabpot merged commite5c82c5 intosymfony:4.4May 14, 2020
@fabpotfabpot mentioned this pull requestMay 16, 2020
@derrabus
Copy link
Member

Looks like this PR has caused a regression:#36836.

COil reacted with thumbs up emoji

fabpot added a commit that referenced this pull requestMay 18, 2020
This PR was merged into the 4.4 branch.Discussion----------[HttpKernel] Bring back the debug toolbar| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       |Fix#36836| License       | MIT| Doc PR        | N/AThis PR effectively reverts#36789 in order to fix a regression caused by that PR.Commits-------9f8d225 Revert "Change priority of KernelEvents::RESPONSE subscriber"
This was referencedMay 31, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

7 participants

@marcw@fabpot@derrabus@nicolas-grekas@xabbuh@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp