-
Notifications
You must be signed in to change notification settings - Fork 261
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
Support for doctrine/dbal 3.X #407
Comments
@Clement-B Does it also occur when you install a blank SF 5.2? It should be easy enough to fix when we create a 5.3 and 5.4 branch and update master to work with 6 if possible, but I am a bit short on time atm. |
I didn't give it a try but it happened when migrating an existing app from 5.3 to 5.4. I dont have time neither to test on a fresh install, maybe I will test it if I can in a few weeks. |
Hello,
In a move of upgrading my Symfony app from 5.3 to 5.4, I have encountered a compatibility issue with bundle
doctrine/dbal
in version 3.How to reproduce bug :
Observed result : Error while tying to conect to database
SQLSTATE[HY000] [2002] ...
Expected result : No error
doctrine/doctrine-bundle
seems to have updated his dependencies and now use lastest stable version ofdocrine/dbal
.Here is the changelog of the initiale version 3 of
doctrine/dbal
: https://github.com/doctrine/dbal/releases/tag/3.0.0As you can see, there is an major modification (and maybe more) that impact this bundle that is :
This exception is currently used in these file (even in the last version
5.2.0
) :LexikTranslationBundle/Storage/DoctrineORMStorage.php
Line 40 in 14f7178
Depending of time necessary to fix this issue (I fixed it locally by just replace the namespace by the new one) we could eventually add
doctrine/dbal
in dependency with a version fixed to^2.5
?The text was updated successfully, but these errors were encountered: