Order relation child is not set during edit operation. #10195
Labels
bug report
Component: Sales
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Reproduced on 2.1.x
The issue has been reproduced on latest 2.1 release
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
Order relation child is not set during edit operation.
Preconditions
Magento v2.1.7
Steps to reproduce
relation_child_id
andrelation_child_real_id
fields of the old order.Expected result
relation_child_id
andrelation_child_real_id
fields are set to the IDs of the new order.Actual result
The problem seems to be related to how these fields are set: https://github.com/magento/magento2/blob/2.1.7/app/code/Magento/Sales/Model/AdminOrder/Create.php#L1878-L1882
The old order is not saved in that code segment.
The text was updated successfully, but these errors were encountered: