-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Order Transition on confirm
does not make sense.
#2044
Comments
Hmmm, in fact it sounds quite reasonable, but I'm not the author (ping @winzou) of that callback so I can't say why it was that way. @Arn0d @pjedrzejewski do you remember reason of that callback? |
@liverbool Do you think you can do a before callback on If this is not possible then we must do it via a separated callback. Sylius/src/Sylius/Bundle/ShippingBundle/Resources/config/state-machine.yml Lines 23 to 25 in 1e040af
|
@kayue i think |
Make sense to me 👍 |
PR #2045 |
👍 |
https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/CoreBundle/Resources/config/state-machine.yml#L85
This transition will make shipment's state to
ready
. I think it does not make sense because some case order's state can bebackorder,..
. So shipment's state should not beready
in this case.ping @stloyd
The text was updated successfully, but these errors were encountered: