Skip to content

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Nov 5, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR n/a

I'm not sure if this change is expected or not, but I found this [while investigating another bug](https://github.com/wouterj/sf-reproducer/tree/messenger-star-routing in the Messenger component. When you handle the same message twice, you'll get an NoHandlerForMessageException because all handlers are skipped.

What would be the expected behavior? Maybe we have to throw a different exception when the same envelope is handled twice?

@chalasr
Copy link
Member

chalasr commented Nov 8, 2022

Thank you @wouterj.

@chalasr chalasr merged commit 1fd4b63 into symfony:4.4 Nov 8, 2022
@wouterj wouterj deleted the messenger-duplicate-no-handler branch November 8, 2022 17:38
@fabpot fabpot mentioned this pull request Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants