EncryptBundle
EncryptBundle copied to clipboard
The package expects a Doctrine connection named `default`
Hi there!
Just wanted to try out the package as the multi-connection support was interesting for the project I'm working on, and I had the following error pop up when running the package's recipe upon composer install:
!! In RegisterEventListenersAndSubscribersPass.php line 91:
!!
!! The Doctrine connection "default" referenced in service "SpecShaper\Encrypt
!! Bundle\Subscribers\DoctrineEncryptSubscriber" does not exist. Available con
!! nections names: "regional", "core".
As you can see, neither of our connections are named "default", which crashes the app until the connections are defined in the configuration.
I don't have time for a PR on this at this very moment, but I expect looking at the doctrine.dbal.default_connection
configuration could fix this issue, in order to make the install process smoother.
If I get some time to look into it before you do I might just make a PR for it.
Cheers! :)