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

[EventDispatcher] fix getting priorities of listeners during dispatch#22568

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
nicolas-grekas merged 1 commit intosymfony:3.2fromdmaicher:fix-listener-prio
Apr 28, 2017

Conversation

@dmaicher
Copy link
Contributor

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

The WebProfiler collects listener info during dispatching thekernel.terminate event which caused issues while retrieving priorities as the wrappers are registered instead of the real listeners.

ro0NL reacted with thumbs up emoji
@stof
Copy link
Member

I think a better solution is to fix the implementation ofgetListenerPriority in the TraceableEventDispatcher, to fix the issue for any code reading the priority.
The actual fix would be similar to what is done when removing listeners, as I explained in the issue

@dmaicher
Copy link
ContributorAuthor

@stof you are right 👍 I pushed a new version.

@nicolas-grekas
Copy link
Member

Thank you@dmaicher.

@nicolas-grekasnicolas-grekas merged commit79b71c0 intosymfony:3.2Apr 28, 2017
nicolas-grekas added a commit that referenced this pull requestApr 28, 2017
…ng dispatch (dmaicher)This PR was merged into the 3.2 branch.Discussion----------[EventDispatcher] fix getting priorities of listeners during dispatch| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#22520| License       | MIT| Doc PR        | -The WebProfiler collects listener info during dispatching the `kernel.terminate` event which caused issues while retrieving priorities as the wrappers are registered instead of the real listeners.Commits-------79b71c0 [EventDispatcher] fix getting priorities of listeners during dispatch
@fabpotfabpot mentioned this pull requestMay 1, 2017
@dmaicherdmaicher deleted the fix-listener-prio branchMay 1, 2017 17:52
nicolas-grekas added a commit that referenced this pull requestMay 2, 2017
This PR was merged into the 3.2 branch.Discussion----------[EventDispatcher] fix merge of#22541 from 2.8| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -This cleans up a test case that was merged from 2.8 into 3.2 here:824dc8b@fabpot due to different implementations I created 2 PR's:2.8:#225413.2:#22568So the 2.8 merge into 3.2 of my change-set introduced some unused variable `$isWrapped` here:824dc8b#diff-af3c4fbca8bb77957c00087543ae5a4dR113This PR just cleans it up and also removes the data provider 😉Commits-------f67eba8 [EventDispatcher] fix merge of#22541 from 2.8
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof 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

@dmaicher@stof@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp