Open timpea-splat opened 1 year ago
Hi @timpea-splat. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. @magento give me 2.4-develop instance
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo, here is your Magento Instance: https://ea446b48c9a2de103056de856381954d.instances-prod.magento-community.engineering Admin access: https://ea446b48c9a2de103056de856381954d.instances-prod.magento-community.engineering/admin_ba3c Login: 23a0da70 Password: fae82e1e9a60
Hi @timpea-splat,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Steps to reproduce
After doing partial shipment of the order the order should be in Processing status but it is in Complete status.
Hence Confirming the issue.
Additionally Tested:
It is working fine for other types of products and orders for partial shipments.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-9198 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
@magento I am working on this
Hi @Vikaashkarthick-K have you identified the cause for this? We are seeking to patch as this issue is preventing us from deploying our latest application built on 2.4.6 -- Thank you!
We believe this bug was introduced by the following commit:
Specifically, in the implementation of isPartiallyRefundedOrderShipped
The logical fault is comparing the value of total_qty_ordered
against values derived from iterating over getAllItems()
wherein the former will only be inclusive of parent items (or simple products) and the latter will be inclusive of child products.
We use "Ship Bundle Items Separately" so I am more familiar with this logical flow, so the above may not be accurate for your use case.
Our temporary workaround has been to introduced an Around plugin which effectively reverts the changes to vendor/magento/module-sales/Model/ResourceModel/Order/Handler/State.php back to its functionality in 2.4.5 which works for us. The bug that the commit seeks to address is much less severe to us than an inability to partially ship Bundle orders, as this is an extremely common use case for our business.
@Vikaashkarthick-K @jsamhall this is fixed in quality patch ACSD-57003
https://github.com/magento/quality-patches/blob/master/patches/os/ACSD-57003_2.4.6-p3.patch
Preconditions and environment
Steps to reproduce
Create Bundle Product
Add more than 1 bundled product
Set: Ship Bundle Items - Separately
Create order for bundle product, selecting more than 1 product
Invoice order
Ship part of the bundled order
Expected result
Order Status: Processing
Actual result
Order Status: Complete
Additional information
No response
Release note
No response
Triage and priority