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

[FrameworkBundle] Fix dumping extension config without bundle#46412

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:4.4fromyceruto:dump_extension_config
May 21, 2022

Conversation

@yceruto
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Either thedebug:config orconfig:dump-reference commands allow to pass the bundle name or the extension alias as first argument. However, when we register an extension without a bundle (i.e. it's directly registered in the kernel class or the kernel class implementsExtensionInterface), these commands cannot dump the configuration related to this extension.

This PR fixes the issue, so both commands will look at the extensions list regardless of whether it belongs to a bundle.

@nicolas-grekas
Copy link
Member

Thank you@yceruto.

@nicolas-grekasnicolas-grekas merged commit3db04f0 intosymfony:4.4May 21, 2022
@ycerutoyceruto deleted the dump_extension_config branchMay 21, 2022 13:12
* @return ExtensionInterface
*/
protectedfunctionfindExtension($name)
protectedfunctionfindExtension($name,ContainerBuilder$container)
Copy link
Member

Choose a reason for hiding this comment

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

that's a BC break

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

My bad!

I don't remember, is it ok to add a new deprecation in a patch version?

Copy link
Member

Choose a reason for hiding this comment

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

We cannot do that in a patch release.

yceruto reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Fixed in#46434

fabpot added a commit that referenced this pull requestMay 22, 2022
… (yceruto)This PR was merged into the 4.4 branch.Discussion----------[FrameworkBundle] Fix BC break in abstract config commands| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Fixes#46412This revert also the unnecessary changes made in ConfigDebugCommand and ConfigDumpReferenceCommand classesCommits-------5be61fa Fix BC break
This was referencedMay 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@yceruto@nicolas-grekas@xabbuh@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp