Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Messenger] Fix messenger:failed:remove can not remove single message#36660
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
[Messenger] Fix messenger:failed:remove can not remove single message#36660
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Related to#34980 |
src/Symfony/Component/Messenger/Tests/Command/FailedMessagesRemoveCommandTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
I agree with@xabbuh that the fix is not correct. The |
I think I understand the issue now. We changed the type of the argument for 5.1. So the PR that introduced the possibility to specify more than one id broke BC. |
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.
I think this PR is correct.
PR#34980 introduced a BC break to change the type from int to array. It was fine as long as you called the command from the CLI.
This PR is needed to avoid us releasing this BC break.
Thank you@tienvx. |
Fix this error:
When calling
messenger:failed:remove
command from other code with single id