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
prependExtensionConfig: define doctrine settings over multiple bundles #23467
Comments
Doctrine has it's own bundle https://github.com/doctrine/DoctrineBundle |
Several solutions:
The future-proof option is the first one. doctrine/DoctrineBundle#628 is preparing the deprecation of the old way, as it causes issues, which was revealed by a recent bugfix triggering the early registration more often (previously, registration was missed in some cases, like yours). |
I am closing here anyway as the issue is related to DoctrineBundle. |
@stof thank you, works like a charm (first suggestion) |
We've got a bundle (base bundle) which delivers basic doctrine settings by prependExtensionConfig. Which worked fine since years. Today i tried to register a new doctrine (dbal) field type.
After i add it to the 'dbal' section of the doctrine settings. Every bundle depends on base bundle and got additional doctrine settings failed by: Unknown database 'xxxx'
Does not work
BaseBundle
FeatureBundle
=> Unknown database 'xxxx'
Does work (without type)
BaseBundle
FeatureBundle
The text was updated successfully, but these errors were encountered: