-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
[Spree 2.1] Fix Update and Calculate Fees button #5383
[Spree 2.1] Fix Update and Calculate Fees button #5383
Conversation
Build looks good, only #5385 is broken. |
Olá @luisramos0 , I confirm that for orders in the cart-state the Update and Recalculate Fees works as expected, and that the bug is (still) occurring only for finished orders. |
I think we should block any new spree upgrade PRs (and just keep what's in staging UK as is) until the upgrade branch is not very broken. |
81477c1
to
a4a6431
Compare
rebased to get latest 3-0-stable before testing. |
Hi @luisramos0 , |
ok, this is staged 👍 |
Hi @luisramos0 , The Update and Calculate Fees button seems to be working fine now - the issue is solved 👍 Thank you! PS/Update: sorry - I forgot to add before, that indeed this is only verified for complete orders, and not orders in the cart. |
What? Why?
Closes #5362
Problem with strong params where order object is not sent to the server and is not needed. Strong params validation was expecting it.
What should we test?
Verify issue is fixed.
I recommend verifying that the bug only happens with completed orders, not orders in cart.
Release notes
Changelog Category: Fixed
Fix bug in strong params implementation in admin orders controller.