Skip to content
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

Update in-memory shipments of order in order_shipping #4334

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Apr 13, 2022

Description

Since we update the shipments state in the database,
but we read the shipsments from memory in the
OrderUpdater#determine_shipment_state we need to set the new
values here on the object as well.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen
Copy link
Member Author

tvdeyen commented Apr 13, 2022

@solidusio/core-team I would like to back port this into 2.11, since this is a long standing bug.

@tvdeyen
Copy link
Member Author

tvdeyen commented Apr 13, 2022

Failing specs should be fixed with #4338

@tvdeyen tvdeyen force-pushed the fix-determine-shipment-state branch from 99c496d to b9c4b94 Compare April 13, 2022 13:00
Since we update the shipments state in the database,
but we read the shipsments from memory in the
OrderUpdater#determine_shipment_state we need to set the new
values here on the object as well.

Co-authored-by: darkswoop <benny@digitalbehr.de>
@tvdeyen tvdeyen force-pushed the fix-determine-shipment-state branch from b9c4b94 to 63241b8 Compare April 20, 2022 16:46
@tvdeyen tvdeyen closed this Apr 21, 2022
@tvdeyen tvdeyen reopened this Apr 21, 2022
@tvdeyen tvdeyen merged commit 7c96918 into solidusio:master Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants