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] TraceableEventDispatcher resets event listener priorities#17459

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

@c960657
Copy link
Contributor

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

Copy link
Member

Choose a reason for hiding this comment

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

the$listener1 and$listener2 variables are actually unused

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Fixed

@stof
Copy link
Member

@c960657 what is the lower Symfony version where this patch can be applied ? The bug seems to impact 2.7+

@c960657c960657force-pushed theeventdispatcher-priority branch from683169b tofc40005CompareJanuary 20, 2016 17:19
@c960657
Copy link
ContributorAuthor

@stof The patch applies cleanly to 2.7+. The bug seems to have always been there, even back in 2.3 when TraceableEventDispatcher belonged to HttpKernel.

@c960657c960657force-pushed theeventdispatcher-priority branch fromfc40005 to9d553b7CompareJanuary 21, 2016 07:08
@fabpot
Copy link
Member

@c960657 If the bug is present in 2.3, we need to fix it there first. Can you work on creating a PR for 2.3?

@c960657
Copy link
ContributorAuthor

I have made separate pull requests for the 2.3 (#17482) and 2.7 (#17483) branches.

The patch for master applies cleanly to the 2.7 branch (i.e. git does not complain), but it would break BC, because EventDispatcherInterface::getListenerPriority() is not defined prior to 3.0.

@fabpot
Copy link
Member

@c960657 Sorry for that but I've closed the other PRs as the listener priority is only available as of 2.8, so I'm going to merge this one on 2.8.

@fabpot
Copy link
Member

Thank you@c960657.

fabpot added a commit that referenced this pull requestJan 25, 2016
…stener priorities (c960657)This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes#17459).Discussion----------[EventDispatcher] TraceableEventDispatcher resets event listener priorities| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#15550| License       | MIT| Doc PR        | -Commits-------233e5b8 [EventDispatcher] TraceableEventDispatcher resets listener priorities
@fabpotfabpot closed thisJan 25, 2016
@fabpotfabpot mentioned this pull requestFeb 3, 2016
@fabpotfabpot mentioned this pull requestFeb 28, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@c960657@stof@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp