Skip to content

[Translator] Cache is not warmed anymore #2056

@MatTheCat

Description

@MatTheCat

Upgrading symfony/ux-translator to v2.19.0 (and running Symfony 6.4.10), we noticed that the var/translations folder and its content was not generated anymore.

The culprit seems to be #1965: our translator service is an alias of translation.default, so TranslatorCompilerPass::hasValidTranslator returns false because ContainerBuilder::hasDefinition does not check aliases.

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