Skip to content

The property_info service does not exist #7723

@fajinfo

Description

@fajinfo

API Platform version(s) affected: 4.2.15

Description

Immediately after updating to version 4.2.15 I have a service resolution error, indicating that the property_info service is missing.

How to reproduce

Update from 4.2.11 to 4.2.15, then remove the cache folder, and execute php bin/console cache:clear --no-warmup

The service "api_platform.metadata.property.name_collection_factory.property_info" has a dependency on a non-existent service "property_info". Did you mean one of these: "cache.property_info", "api_platform.metadata.property.metadata_factory.property_info", "cache.property_info.recorder_inner"?

Possible Solution
I've seen that many service configuration files have been migrated from XML to PHP; could an incorrect configuration of this service in the file be the root of the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions