Affects Version/s: 3.1.1
Component/s: Platform > Repository & Services (Public API impl)
Wrong Doctrine DBAL storage connection is used when a new connection is appended in a 3rd party bundle.
Steps to reproduce
- Install clean 3.1.1-EE.
- Install and enable a custom bundle wich appends doctrine DBAL connection. Let's say `MyBundle` appends a new `myconnection` DBAL connection.
- Try open Admin UI
**Admin UI loads and the user is able to use it.
**Database error is shown
It happens only on EE. Because no default connection is provided in https://github.com/ezsystems/ezplatform-ee/blob/master/config/packages/doctrine.yaml#L12-L30. And when 3rd party bundle appends a new connection, is it listed as the first connection, and it is used for storage: