Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DoctrineBridge] fix: DoctrineTokenProvider not oracle compatible#58523
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[DoctrineBridge] fix: DoctrineTokenProvider not oracle compatible#58523
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Oracle converts all not quoted names to uppercase
carsonbot commentedOct 10, 2024
Hey! I see that this is your first PR. That is great! Welcome! Symfony has acontribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
GromNaN left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
It would be nice to have an integration test for postgres, it was missing in#27314. Not a blocker for this PR.
| */ | ||
| publicfunctionloadTokenBySeries(string$series) | ||
| { | ||
| // the alias for lastUsed works around case insensitivity in PostgreSQL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This was introduced by#27314. The proposed patch also seems to handle postgres issue too.
GromNaN left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This change passes the test added by#58528
Thank you@jjjb03. |
44fa121 intosymfony:5.4Uh oh!
There was an error while loading.Please reload this page.
…h postgres connection (GromNaN)This PR was merged into the 5.4 branch.Discussion----------[DoctrineBridge] Add integration test for RememberMe with postgres connection| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | no| Deprecations? | no| Issues | -| License | MITRelated to-#27314-#58523Commits-------ca417c0 Add integration test for RememberMe with pg connection
Uh oh!
There was an error while loading.Please reload this page.
Problem:
Oracle DB returns all not quoted names in uppercase
(vs. SQLite for example returns non quoted column names as lowercase)
On systems with oracle DB this leads to the Warning/Exception attached below.
see also:PHP Documentation - function.oci-fetch-array- Return Values