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

Order relation child is not set during edit operation. #10195

Closed
dankocherga opened this issue Jul 10, 2017 · 4 comments
Closed

Order relation child is not set during edit operation. #10195

dankocherga opened this issue Jul 10, 2017 · 4 comments
Assignees
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

Comments

@dankocherga
Copy link

Order relation child is not set during edit operation.

Preconditions

Magento v2.1.7

Steps to reproduce

  1. Create an order
  2. Edit the order through admin panel
  3. Check relation_child_idand relation_child_real_id fields of the old order.

Expected result

  1. relation_child_idand relation_child_real_id fields are set to the IDs of the new order.
  2. Link to the new order is displayed on old order's admin page

Actual result

  1. Fields are null in the database
  2. Link to the new order is not displayed on old order's admin page

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.

@VasylShvorak
Copy link
Contributor

@dankocherga Thanks for reporting this issue. Created internal issue MAGETWO-71006 to investigate and track this issue.

@veloraven veloraven added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Jul 26, 2017
@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Component: Sales Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed and removed G1 Passed labels Sep 5, 2017
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Sep 29, 2017
@magento-engcom-team
Copy link
Contributor

@dankocherga, thank you for your report.
We've created internal ticket(s) MAGETWO-71006 to track progress on the issue.

@magento-engcom-team magento-engcom-team added 2.2.x Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed 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 labels Oct 11, 2017
@RomaKis RomaKis self-assigned this Oct 31, 2017
@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-83083

@okorshenko
Copy link
Contributor

The issue has been fixed in 2.2-develop branch. Will be available with 2.2.2 release

@okorshenko okorshenko added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

7 participants