ezplatform-core
ezplatform-core copied to clipboard
IBX-1021: Fixed database DSN string generation
Question | Answer |
---|---|
JIRA issue | IBX-1021 |
Bug/Improvement | yes |
New feature | no |
Target version | 2.3 |
BC breaks | no |
Tests pass | yes/no |
Doc needed | no |
TODO:
- [x] Implement feature / fix a bug.
- [x] Ask for Code Review.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Ping @ezsystems/php-dev-team since I can't ask for review directly
@kmadejski what are the steps to reproduce here?
@kmadejski what are the steps to reproduce here?
I think an attempt to use DFS on Platform.sh would lead to this problem. I found it accidentally when I was about to reuse this piece of code for a different use case, hence no steps to reproduce in the ticket.
@micszo thanks for testing. It is a kind of mystery to me then, as this fragment of code is supposed to generate DSN used later on by doctrine for establishing a connection to the DFS database. I think it is clear to all reviewers that the previous version is clearly wrong. Another question would be: why and how this is overwritten on the cloud so it works fine?
I need to investigate this deeper then, expected different outcome.