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

Checkout: Region select autofillable even if Allow to Choose State if It is Optional for Country is set to No #33437

Open
1 of 5 tasks
mattijv opened this issue Jul 7, 2021 · 17 comments
Assignees
Labels
Area: Cart & Checkout Component: Checkout Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: dev in progress Reported on 2.4.2 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@mattijv
Copy link
Contributor

mattijv commented Jul 7, 2021

Preconditions (*)

  1. Magento 2.4.2 with sample data
  2. United States removed from General > General > State Options > State is Required for
  3. Allow to Choose State if It is Optional for Country is set to No

Screenshot from 2021-07-07 11-33-47

  1. Browser has an address saved with United States as the country and California as the region (e.g. go to Settings > Autofill > Addresses and more in Chrome and add an address in United States and California as the region). I only tested this with Chrome, unsure if other browsers are affected.

Screenshot from 2021-07-07 11-39-58

Note: the country can be any country with regions, this is just an example.

Steps to reproduce (*)

  1. Add item to the cart
  2. Go to the checkout and apply the autofill to the shipping address (in Chrome start typing the name you selected and it should prompt for the autofill).
  3. Select shipping method and go to the next step

Screenshot from 2021-07-07 11-34-33

Expected result (*)

  1. The region input is NOT filled.

Screenshot from 2021-07-07 12-10-13

Actual result (*)

  1. The region input IS filled.

Screenshot from 2021-07-07 11-34-51

This is problematic as the customer can't see the field and does not know if a wrong region is filled there. We have several orders that have the wrong region in the address as a result of this.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented Jul 7, 2021

Hi @mattijv. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

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


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 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.

🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@m2-assistant
Copy link

m2-assistant bot commented Jul 7, 2021

Hi @engcom-Hotel. 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: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf 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 branch

    Details- 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.

@mattijv mattijv changed the title Checkout: Region select not disabled even if Allow to Choose State if It is Optional for Country is set to No Checkout: Region select autofillable even if Allow to Choose State if It is Optional for Country is set to No Jul 7, 2021
@engcom-Hotel
Copy link
Contributor

Hi @mattijv,

We have followed the exact steps, you have mentioned in the description. But we are unable to reproduce the issue. We are getting region name on checkout page. Please find below screenshot for reference:

Screenshot 2021-07-07 at 3 23 38 PM

Screenshot 2021-07-07 at 3 24 37 PM

Let us know if any other step(s), you have followed.

Thanks

@engcom-Hotel engcom-Hotel added Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: needs update Additional information is require, waiting for response labels Jul 7, 2021
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Needs Update in Issue Confirmation and Triage Board Jul 7, 2021
@m2-community-project m2-community-project bot removed Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: ready for confirmation labels Jul 7, 2021
@engcom-Hotel engcom-Hotel added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Jul 7, 2021
@mattijv
Copy link
Contributor Author

mattijv commented Jul 7, 2021

@engcom-Hotel Thank you for taking a look, but by your own screenshots you show that you have in fact managed to reproduce the issue: there is no region field visible on the checkout but the region is autofilled to the address. That is the problem.

@ghost
Copy link

ghost commented Jul 7, 2021

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @konrad-szwed-accenture. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@mattijv
Copy link
Contributor Author

mattijv commented Jul 14, 2021

@engcom-Hotel Any updates on this? Can you look over your results again and confirm that you are able to reproduce the issue, like your screenshots show?

@engcom-Hotel
Copy link
Contributor

Hello @mattijv,

I think there might be some confusion. As per my screenshot, the region with the name "California" is visible. And this is also mentioned in your "Actual Result".

Can you please let us know if we need to further work on this ticket?

Thanks

@engcom-Hotel engcom-Hotel removed Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: needs update Additional information is require, waiting for response labels Jul 22, 2021
@m2-community-project m2-community-project bot moved this from Needs Update to Ready for Confirmation in Issue Confirmation and Triage Board Jul 22, 2021
@m2-community-project m2-community-project bot moved this from Needs Update to Ready for Confirmation in Issue Confirmation and Triage Board Jul 22, 2021
@engcom-Hotel engcom-Hotel added Reported on 2.4.2 Indicates original Magento version for the Issue report. and removed Issue: ready for confirmation labels Jul 22, 2021
@magento-engcom-team
Copy link
Contributor

@engcom-Hotel Thank you for verifying the issue.

Unfortunately, not enough information was provided to acknowledge ticket. Please consider adding the following:

  • Add "Reproduced on " label(s) to this ticket based on verification result

Once all required information is added, please add label "Issue: Confirmed" again.
Thanks!

@magento-engcom-team magento-engcom-team removed the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Aug 9, 2021
@m2-community-project m2-community-project bot moved this from Confirmed to Ready for Confirmation in Issue Confirmation and Triage Board Aug 9, 2021
@engcom-Hotel engcom-Hotel added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: needs update Additional information is require, waiting for response Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch labels Aug 9, 2021
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Confirmed in Issue Confirmation and Triage Board Aug 9, 2021
@m2-community-project m2-community-project bot moved this from Confirmed to Needs Update in Issue Confirmation and Triage Board Aug 9, 2021
@magento-engcom-team
Copy link
Contributor

✅ Confirmed by @engcom-Hotel
Thank you for verifying the issue. Based on the provided information internal tickets MC-43024 were created

Issue Available: @engcom-Hotel, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@m2-community-project m2-community-project bot removed Issue: needs update Additional information is require, waiting for response Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Aug 9, 2021
@m2-community-project m2-community-project bot added Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: needs update Additional information is require, waiting for response and removed Issue: ready for confirmation labels Aug 9, 2021
@engcom-Hotel engcom-Hotel removed the Issue: needs update Additional information is require, waiting for response label Aug 9, 2021
@m2-community-project m2-community-project bot moved this from Needs Update to Confirmed in Issue Confirmation and Triage Board Aug 9, 2021
@engcom-Hotel engcom-Hotel added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Aug 10, 2021
@m2-community-project m2-community-project bot added this to Ready for Development in High Priority Backlog Aug 10, 2021
@Melnychuk-Alexandr
Copy link
Contributor

@magento I am working on this

@stephansteiner
Copy link

Hi, any progress on this?

@kasperth
Copy link

Still an issue in Magento 2.4.5-p1. Any update to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Cart & Checkout Component: Checkout Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: dev in progress Reported on 2.4.2 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
High Priority Backlog
  
Dev In Progress
Development

No branches or pull requests

6 participants