8000 Insufficient service configuration of "validator.expression", class "ExpressionLanguage" does not exist · Issue #41468 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Insufficient service configuration of "validator.expression", class "ExpressionLanguage" does not exist #41468
Closed
@malteschlueter

Description

@malteschlueter

Symfony version(s) affected: 5.3.0

Description
After updating to Symfony 5.3 the container linter outputs the following error.

[critical] Error thrown while running command "lint:container". Message: "Invalid service "validator.expression": class "Symfony\Component\ExpressionLanguage\ExpressionLanguage" does not exist."

I think it's caused by the changes of #39327.

How to reproduce
I will add a example project or from a new Symfony app ASAP. But I would say that it is sufficient to add the Validator component.

Possible Solution
Add service validator.expression_language only if ExpressionLanguage component is installed or add ExpressionLanguage component to composer.json of Validator component.

Additional context
grafik

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

      0