Closed gwharton closed 3 months ago
Hi @gwharton. Thank you for your report. To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
Please, add a comment to assign the issue: @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, please join the Community Contributions Triage session to discuss the appropriate ticket.
:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
Hi @engcom-Alfa. 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:
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
:white_check_mark: Confirmed by @engcom-Alfa
Thank you for verifying the issue. Based on the provided information internal tickets MC-39285
were created
Issue Available: @engcom-Alfa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
I think whats going on is that when either the "Validate VAT Number" link is clicked, or the "Customer Group" dropdown is changed, the forms content is refreshed and redrawn using the contents of the $quote object which will probably have empty address objects. However when either of these two events are triggers, the current contents of the form are not saved in the quote and are lost when it is refreshed.
Is this the bug
reset_shipping is set true when the address field being modified is a billing address field, and Shipping is the same as Billing, or if the field being edited is a shipping address field. That makes sense. https://github.com/magento/magento2/blob/2cf043303b61423eaaadc5a095b83bdcf6443a6b/app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js#L264-L271
But here, Whenever a field on the form is edited, the form data is only ever sent to the backend and updated in the quote object when reset_shipping is false..... Huh? https://github.com/magento/magento2/blob/2cf043303b61423eaaadc5a095b83bdcf6443a6b/app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js#L291-L299
@magento I am working on this.
@magento give me 2.4-develop instance
Hi @chiranjeevi-cj. Thank you for your request. I'm working on Magento instance for you.
Hi @chiranjeevi-cj, here is your Magento Instance: https://ac48f9bb74a6d77ca9c089ac4da5ab6e-2-4-develop.instances.magento-community.engineering Admin access: https://ac48f9bb74a6d77ca9c089ac4da5ab6e-2-4-develop.instances.magento-community.engineering/admin_a25c Login: c05f95c7 Password: 775251c78d18
up
Preconditions (*)
2.4-develop
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.