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 creating ContainerBuilder at warmup/CLI time#41456

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
fabpot merged 1 commit intosymfony:5.3fromnicolas-grekas:fix-warmup
May 31, 2021

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedMay 31, 2021
edited
Loading

QA
Branch?5.3
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#41011,#41128
LicenseMIT
Doc PR-

In prod mode, because we hack the kernel to recreate a container builder at runtime for introspection needs, we end up with a broken object graph. Calling$this->initializeBundles() creates fresh bundle instances and that fixes the issue.

This could be merged on 5.2, but we don't need the fix on 5.2 because we never encountered the situation before adding the cache warmer for config builders.

@nicolas-grekasnicolas-grekas added this to the5.3 milestoneMay 31, 2021
@carsonbotcarsonbot changed the title[FrameworkBundle] fix creating ContainerBuilder at warmup/CLI timefix creating ContainerBuilder at warmup/CLI timeMay 31, 2021
@carsonbotcarsonbot changed the titlefix creating ContainerBuilder at warmup/CLI time[FrameworkBundle] fix creating ContainerBuilder at warmup/CLI timeMay 31, 2021
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit16c382a intosymfony:5.3May 31, 2021
@fabpotfabpot deleted the fix-warmup branchMay 31, 2021 09:07
@Nyholm
Copy link
Member

Oh. Thank you for this fix.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.3

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@Nyholm@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp