-
Notifications
You must be signed in to change notification settings - Fork 73
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
Doctrine 2.5: boot() breaks console command(s) #38
Comments
Hum... right now I don't have any solution. I will ask around me if someone has an idea... If you find a workaround, give me your solution. |
I just ran into this as well. Imho the bundle should not register the types automatically. Adding a type to the project's doctrine configuration is a matter of one line http://symfony.com/doc/current/reference/configuration/doctrine.html#full-default-configuration and I see other bundles take that route as well. |
Yep had this as well, either it needs to make itself optional or go the configuration route. |
See my pull request for a fix: #67 |
Done in #67 This is good for fixing this issue and prevent BC breaks for this version. |
If I do the following:
then
This is because of the following code:
The problem is the getDatabasePlatform() call and this issue with Doctrine/DBAL:
http://www.doctrine-project.org/jira/browse/DBAL-1057
Any workaround/fix for this available?
I know it's not the fault of the bundle, but still - would be nice to have something...
The text was updated successfully, but these errors were encountered: