You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when trying to update a project to 3.4
Invalid service "api_platform.doctrine.orm.order_filter": class "ApiPlatform\Doctrine\Common\Filter\ManagerRegistryAwareInterface" not found while loading "ApiPlatform\Doctrine\Orm\Filter\OrderFilter".
Installed package versions:
api-platform/doctrine-common 4.0.13 Common files used by api-platform/doctrine-orm and api-platform/doct...
api-platform/doctrine-orm 3.4.13 Doctrine ORM bridge
api-platform/documentation 4.0.13 API Platform documentation controller.
api-platform/http-cache 4.0.13 API Platform HttpCache component
api-platform/hydra 4.0.13 API Hydra support
api-platform/json-schema 4.0.13 Generate a JSON Schema from a PHP class
api-platform/jsonld 4.0.13 API JSON-LD support
api-platform/metadata 4.0.13 API Resource-oriented metadata attributes and factories
api-platform/openapi 4.0.13 Models to build and serialize an OpenAPI specification.
api-platform/serializer 4.0.13 API Platform core Serializer
api-platform/state 4.0.13 API Platform State component
api-platform/symfony 3.4.13 Symfony API Platform integration
api-platform/validator 4.0.13 API Platform validator component
How to reproduce
symfony new apip
cd apip
symfony composer req api-platform/symfony:^3.4 api-platform/doctrine-orm:^3.4
Possible Solution
As the main repository seems good, this should be an issue with the sub-tree splits. IMHO a possible solution would be to use the same tested tools and methods as the Symfony team, if it is possible and not using it already.
Additional Context
The text was updated successfully, but these errors were encountered:
API Platform version(s) affected: 3.4.13
The api-platform/doctrine-orm:^3.4.13 contains files from 4.1.0-alpha1
Description
as you can see in the picture and in the repo https://github.com/api-platform/doctrine-orm/blob/v3.4.13/Filter/AbstractFilter.php the abstract filter class contains references (
ManagerRegistryAwareInterface
) to an interface which is not exists for this version, only added in api-platform/doctrine-orm@b4f6e50 for 4.1-dev.In the main repo it seems ok https://github.com/api-platform/core/blob/v4.0.13/src/Doctrine/Orm/Filter/AbstractFilter.php
I get this error when trying to update a project to 3.4
Installed package versions:
How to reproduce
Possible Solution
As the main repository seems good, this should be an issue with the sub-tree splits. IMHO a possible solution would be to use the same tested tools and methods as the Symfony team, if it is possible and not using it already.
Additional Context
The text was updated successfully, but these errors were encountered: