Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Workflow] Fix eventsToDispatch parameter setup for StateMachine#44510
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
[Workflow] Fix eventsToDispatch parameter setup for StateMachine#44510
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedDec 8, 2021
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 |
goodjinny commentedDec 8, 2021 • 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.
I have found out that the lowest branch where this fix can be applied is 5.2. Should I close this PR and create the new one for the 5.2 branch? |
chalasr commentedDec 8, 2021
5.2 is not maintained anymore, so 5.3 is probably the lowest maintained branch where this applies. |
ce8e74e toca38501Comparegoodjinny commentedDec 8, 2021 • 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.
Thank you@chalasr! Done. Could you review it again? |
fabpot commentedDec 15, 2021
Thank you@goodjinny. |
DoctorBryson commentedDec 30, 2021
After updating to 5.4.2 this update prevented the state machine to work at all, broke in our integration tests. Got to revert to 5.4.0 until a fix is there I guess. |
fancyweb commentedDec 30, 2021
Hello@DoctorBryson, please create a new issue with a reproducer, thanks. |
Uh oh!
There was an error while loading.Please reload this page.
Using
state_machinetype of the workflow in the project have mentioned that workflow events still propagated withevents_to_dispatch: []parameter. But this bug does not appear forworkflowtype.Current pull request fixes that bug by adding $eventsToDispatch parameter initialization for StateMachine class.
Before fixing (

state_machinewithevents_to_dispatch: []):After fixing (

state_machinewithevents_to_dispatch: []);