Closed leonhelmus closed 1 year ago
Hi @leonhelmus. 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-Dash. 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
.@magento give me 2.4-develop instance
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Dash, here is your Magento Instance: https://44a0bd8c0f2d7640ac12f8f06717a370.instances-prod.magento-community.engineering Admin access: https://44a0bd8c0f2d7640ac12f8f06717a370.instances-prod.magento-community.engineering/admin_7126 Login: 6331c4e2 Password: 0382af9a4cf6
Hi @leonhelmus ,
Verified the issue in 2.4-develop instance and the issue is not reproducible,Kindly provide more details to confirm this issue and kindly recheck the behaviour in 2.4-develop instance. Kindly refer below screenshots:
@engcom-Dash It does add a loader for the shipping methods. if you do not fill in email and other fields.
When looking here:
you see it continues while it should stop at this part:
if (emailValidationResult &&
this.source.get('params.invalid') ||
!quote.shippingMethod()['method_code'] ||
!quote.shippingMethod()['carrier_code']
) {
this.focusInvalid();
return false;
}
but since the email is not valid it will not trigger the return false. i would think it should not go beyond the if condition while now it does. Please check the following file and use a js debugger of the browser on line 348 of file Magento_Checkout/js/view/shipping
This additional part and requests should not be needed when validation is false.
@magento give me 2.4-develop instance
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Dash, here is your Magento Instance: https://44a0bd8c0f2d7640ac12f8f06717a370.instances-prod.magento-community.engineering Admin access: https://44a0bd8c0f2d7640ac12f8f06717a370.instances-prod.magento-community.engineering/admin_f815 Login: e6d9d655 Password: 79fee7e1c892
@magento give me 2.4-develop instance
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Dash, here is your Magento Instance: https://44a0bd8c0f2d7640ac12f8f06717a370.instances-prod.magento-community.engineering Admin access: https://44a0bd8c0f2d7640ac12f8f06717a370.instances-prod.magento-community.engineering/admin_ed16 Login: 7f0f1e8b Password: 5ce4a45a200f
Hi @leonhelmus , Verified the issue in 2.4-develop instance and the issue is not reproducible,Kindly refer the below video reference:
https://github.com/magento/magento2/assets/60198592/7c9eaf96-0c14-48a7-8cb0-018667e1e59d
Hi @leonhelmus ,
We have noticed that this issue has not been updated since long time. Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this.
Thanks.
Preconditions and environment
Steps to reproduce
Expected result
Validation is triggered and nothing more.
Actual result
Validation is triggered and also some rest apis are triggered like:
Additional information
This patch resolved my issue:
With this patch it will now also check when email is not filled in and now only triggers validation instead of all other things as well.
Release note
No response
Triage and priority