-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
warning message on failed messenger show command #49262
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
Comments
Thanks for your great reproducer. In get method is ok symfony/src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php Line 210 in aee6adf
However in findAll, keys are uppercases symfony/src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php Line 306 in aee6adf
I don't know how to fix it, but community will know |
I'm going to create a PR to fix this bug |
Thanks @alamirault for adding this relevant information. |
…ommand (gstapinato) This PR was merged into the 5.4 branch. Discussion ---------- [Messenger] Fix warning message on failed messenger show command Can only be reproduced on Oracle Databases. | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #49262 | License | MIT Fix warning message on failed messenger show command Commits ------- 4ad8101 [Messenger] Fix warning message on failed messenger show command
Symfony version(s) affected
5.4 - 6.3
Description
Show warning message 'Undefined array key "headers"' when I'm trying to execute a command to show messages from the failure transport.
This error only can be reproduced from Doctrine transport using oracle database.
The reason for this exception is because most Oracle databases use UPPER CASE on tables and column identifiers.
How to reproduce
Possible Solution
On File: "Symfony\Component\Messenger\Bridge\Doctrine\Tests\Transport\Connection.php"
Additional Context
Related to: #44988
The text was updated successfully, but these errors were encountered: