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

Appearance settings

[FrameworkBundle] Reboot kernel on warmup is needed for ConfigBuilderGenerator #41011

Copy link
Copy link
Closed
@a-menshchikov

Description

@a-menshchikov
Issue body actions

When I run cache:warmup command with existing cache, \Symfony\Component\Config\Builder\ConfigBuilderGenerator build SecurityConfig without any listeners configs (e.g. \Symfony\Config\Security\FirewallConfig\FormLoginConfig). This is because ConfigBuilderGenerator call SecurityExtension::getConfiguration without first execute SecurityExtension::addSecurityListenerFactory (that only executed in Bundle::build).

It seems like a bug and CacheWarmupCommand should call kernel reboot method before calling CacheWarmerAggregate::warmUp. The same thing actual for CacheClearCommand and case when cache is fresh.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.