Skip to content

[Backport] Fix #21692 #21752 - logic in constructor of address validator and Locale Resolver check #21719

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

Conversation

Bartlomiejsz
Copy link
Contributor

@Bartlomiejsz Bartlomiejsz commented Mar 12, 2019

Original Pull Request

#21693

Description (*)

This fixes issue #21692 - error is described there. This is backport for Magento 2.2.

Fixed Issues (if relevant)

  1. Incorrect constructor of Magento\Sales\Model\Order\Address\Validator #21692: Incorrect constructor of Magento\Sales\Model\Order\Address\Validator

Manual testing scenarios (*)

  1. Add custom module with Cli Command and inject Magento\Sales\Model\Order\Address\Validator into its constructor
  2. Run Magento installation from Cli
  3. Verify if installation is finished with success

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)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-engcom-team
Copy link
Contributor

Hi @Bartlomiejsz. Thank you for your contribution
Here is 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-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me 2.2-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-4484 has been created to process this Pull Request

@Bartlomiejsz Bartlomiejsz changed the title [Backport] Fix #21692 - logic in constructor of address validator [Backport] Fix #21692 #21752 - logic in constructor of address validator and Locale Resolver check Mar 18, 2019
@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-4484 has been created to process this Pull Request

@soleksii
Copy link

Hi @Bartlomiejsz !

I've checked PR and it looks like changes does not fix the issue #21752.

Manual testing scenario:

  1. Add custom module with Cli Command and inject Magento\Sales\Model\Order\Address\Validator into its constructor;
  2. Try to install Magento from scratch using Cli;
  3. See following error:

after

@Bartlomiejsz
Copy link
Contributor Author

Hi @stoleksiy!
It seems like on 2.2-develop there is another error connected with this. I will work on that.

@Bartlomiejsz
Copy link
Contributor Author

Hi @stoleksiy!
Could you please confirm that you have this error with my changes? I checked it three times, and installation on 2.2-develop with such custom module fails with exactly same error that you mentioned, but on branch for this ticket installation for same steps is finished successfully.
If it is not working for you, could you attach here your cli command code?

@soleksii
Copy link

Hi @Bartlomiejsz! I re-checked this PR and everything is fine. Thanks!

@soleksii
Copy link

✔️ QA Passed

Result:

after

@ghost
Copy link

ghost commented Mar 29, 2019

Hi @Bartlomiejsz, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@magento-engcom-team magento-engcom-team added this to the Release: 2.2.9 milestone Mar 29, 2019
@Bartlomiejsz Bartlomiejsz deleted the feature/backport_22_fix_21692_incorrect_constructor branch April 8, 2019 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants