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

Changes of GR(Greece) PostCode Pattern #36696

Merged

Conversation

Vasudev-22
Copy link
Contributor

@Vasudev-22 Vasudev-22 commented Jan 3, 2023

Description (*)

Change Pattern for GR PostCodes

Related Pull Requests

Fixes for #36676

Fixed Issues (if relevant)

  1. Fixes Zip Code for Greece should not expect space #36676 Greece should allow zipcode without space

Manual testing scenarios (*)

  1. Buy Product
  2. Go Checkout
  3. Select Greece Country
  4. Put PostCode: 12345
    Shopping-Cart-Error
    Shopping-Cart

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Jan 3, 2023

Hi @Vasudev-22. Thank you for your contribution
Here are some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names. Allowed build names are:

  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE,
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here

ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review.

For more details, review the Magento Contributor Guide documentation.

⚠️ According to the Magento Contribution requirements, all Pull Requests 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 Pull Requests 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.

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

@Vasudev-22
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@m2-community-project m2-community-project bot added the Priority: P3 May be fixed according to the position in the backlog. label Jan 3, 2023
@hostep
Copy link
Contributor

hostep commented Jan 19, 2023

@ishakhsuvarov: will this give issues for customers in Magento that already have stored addresses with zip codes in the old format if they want to check out again? Maybe this needs to be tested if it hasn't been yet, before this gets approved?

It might be safer to allow both the old format (with space) and the new format (without space), so a regex like: ^[0-9]{3}\s?[0-9]{2}$

Just my 2 cents, maybe my remark makes no sense...

@Vasudev-22
Copy link
Contributor Author

@ishakhsuvarov: will this give issues for customers in Magento that already have stored addresses with zip codes in the old format if they want to check out again? Maybe this needs to be tested if it hasn't been yet, before this gets approved?

It might be safer to allow both the old format (with space) and the new format (without space), so a regex like: ^[0-9]{3}\s?[0-9]{2}$

Just my 2 cents, maybe my remark makes no sense...

@hostep ,
Even the old customer need to show this warning/error message to update correctly.

@hostep
Copy link
Contributor

hostep commented Jan 25, 2023

Even the old customer need to show this warning/error message to update correctly.

Why?
It might be annoying for existing customers if they see warnings even if their old orders worked perfectly fine with their old postcode.

@Vasudev-22
Copy link
Contributor Author

Even the old customer need to show this warning/error message to update correctly.

Why? It might be annoying for existing customers if they see warnings even if their old orders worked perfectly fine with their old postcode.

Before it shown the postal-code in space format, that was an core issue and this is in wrong format of that country specific pin-code, so we correcting in our system, that's why we need to show them as warning to update it correctly as per your country pin-code.

@hostep
Copy link
Contributor

hostep commented Jan 25, 2023

I still would like to hear a second opinion on this, @ishakhsuvarov what do you think, or can you drag in somebody who knows a lot about this?

@cptX
Copy link

cptX commented Mar 24, 2023

Hi, I have created the issue #36676.
As a Greek, in my whole life I never say the PC written with a space. @hostep In my opinion we should not allow both with space and without to have a better and more consistent format across all customers.

@hostep
Copy link
Contributor

hostep commented Mar 25, 2023

Sure, I believe you guys, I was just concerned about causing potential problems/annoyances to existing customers of shops if they have entered and stored their postal code in the old (wrong) format.

But it seems like nobody agrees here with my remarks, so feel free to continue with this PR 🙂

@engcom-Lima engcom-Lima self-assigned this Jun 16, 2023
@engcom-Lima
Copy link
Contributor

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Lima engcom-Lima moved this from Ready for Testing to Testing in Progress in Pull Requests Dashboard Jun 16, 2023
@engcom-Lima
Copy link
Contributor

✔️ QA Passed

Preconditions:

  • Install fresh Magento 2.4-develop and PHP 8.1

Manual testing scenario:

  • Buy Product
  • Go Checkout
  • Select Greece Country
  • Put PostCode: 12345

Before: ✖️ Zipcode gives warning
Screenshot 2023-06-16 at 2 09 45 PM

After: ✔️ Now working fine
Screenshot 2023-06-16 at 2 15 55 PM

Screenshot 2023-06-16 at 2 16 05 PM

Builds are failed. Hence, moving this PR to Extended Testing.

@engcom-Lima engcom-Lima moved this from Testing in Progress to Extended Testing (optional) in Pull Requests Dashboard Jun 16, 2023
@engcom-Lima
Copy link
Contributor

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Lima
Copy link
Contributor

It looks like the bot had moved this PR from **Extended testing ** to Ready for testing. Hence, again moving this PR to
Extended testing

@engcom-Lima engcom-Lima moved this from Ready for Testing to Extended testing (optional) in Community Dashboard Sep 14, 2023
@engcom-Charlie engcom-Charlie self-assigned this Sep 14, 2023
@m2-community-project m2-community-project bot moved this from Extended testing (optional) to Ready for Testing in Community Dashboard Sep 14, 2023
@engcom-Charlie engcom-Charlie moved this from Ready for Testing to Extended testing (optional) in Community Dashboard Sep 14, 2023
@engcom-Charlie
Copy link
Contributor

@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, Static Tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Charlie
Copy link
Contributor

@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Charlie
Copy link
Contributor

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Echo
Copy link
Contributor

@magento run Functional Tests EE,Functional Tests CE,Functional Tests B2B

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@engcom-Echo engcom-Echo moved this from Extended testing (optional) to Merge in Progress in Community Dashboard Sep 18, 2023
@magento-devops-reposync-svc magento-devops-reposync-svc merged commit e083a23 into magento:2.4-develop Oct 20, 2023
12 checks passed
@engcom-Charlie engcom-Charlie moved this from Merge in Progress to Recently Merged in Community Dashboard Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: P3 May be fixed according to the position in the backlog. Progress: accept Project: Community Picked PRs upvoted by the community
Projects
Community Dashboard
Recently Merged
Development

Successfully merging this pull request may close these issues.

Zip Code for Greece should not expect space
9 participants