Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FOSOAuthServerBundle] Remove incompatible version #12427

Merged
merged 1 commit into from Mar 16, 2021
Merged

Conversation

Prometee
Copy link
Contributor

@Prometee Prometee commented Mar 8, 2021

Q A
Branch? 1.9 only
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets none
License MIT

If you try to install Sylius ~1.9.0 with Symfony ^4.4 you will get this type of error :

[TypeError]                                                                                                                                                                                                                          
  Argument 1 passed to FOS\OAuthServerBundle\Entity\ClientManager::__construct() must be an instance of Doctrine\Common\Persistence\ObjectManager, instance of EntityManager_9a5be93 given, called in var/cache/test/ContainerXDiFD64/getSylius_OauthServer_ClientManagerService.php on line 14

This error occurred because all deprecated Doctrine Persistence API have been replaced in Sylius 1.9 making FOSOAuthServerBundle ^1.6 incompatible with Sylius ~1.9.0

@pamil pamil added the Bug Confirmed bugs or bugfixes. label Mar 16, 2021
@pamil pamil merged commit 908c352 into Sylius:1.9 Mar 16, 2021
@pamil
Copy link
Contributor

pamil commented Mar 16, 2021

Thank you, Francis! 🥇

@Prometee Prometee deleted the patch-1 branch March 16, 2021 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants