-
Notifications
You must be signed in to change notification settings - Fork 254
Refactor InventoryDistanceBasedSourceSelection plugin to handle exceptions #2957
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
base: develop
Are you sure you want to change the base?
Refactor InventoryDistanceBasedSourceSelection plugin to handle exceptions #2957
Conversation
4558221 to
495af2b
Compare
495af2b to
4ad6561
Compare
|
@TadeuRodrigues unfortunately, only members of the maintainers team are allowed to assign developers to the pull request |
|
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @TadeuRodrigues! Thank you for your contribution, we appreciate that.
There are a few things to improve, please check my notes below.
InventoryDistanceBasedSourceSelection/Plugin/FillSourceLatitudeAndLongitude.php
Outdated
Show resolved
Hide resolved
InventoryDistanceBasedSourceSelection/Plugin/FillSourceLatitudeAndLongitude.php
Outdated
Show resolved
Hide resolved
|
@magento run all tests |
1 similar comment
|
@magento run all tests |
|
@magento run WebAPI Tests |
|
@magento run Functional Tests CE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Thank you for your contribution.
The 'Semantic Version Checker' build failure is not related to the PR changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have just noticed that we use message manager out of Presentation Layer scope which is not acceptable.
I will think about possible solutions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest the following solution:
- Move the current plugin to
adminhtmlarea. - Create the same plugin for
globalarea BUT withoutmessageManagerusage, and log ANY exception type there.
InventoryDistanceBasedSourceSelection/Plugin/FillSourceLatitudeAndLongitude.php
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Let's wait for the test builds.
|
@magento run all tests |
1 similar comment
|
@magento run all tests |
|
@magento run all tests |
|
@magento run Functional Tests EE |
|
Hi, @sidolov. Are there any updates?.. The failed Semantic Version Checker test is not related to the PR changes. |
|
@magento run all tests |
1 similar comment
|
@magento run all tests |
|
@magento run all tests |
|
Semantic Version Checker failure is not related to the PR changes, as well as functional tests (AdminAddRemoveDefaultVideoGiftCardProductTest There is something wrong with Integration Tests (failed elasticsearch connection), more likely will be green after a restart. |
|
@magento run Integration Tests |
|
@magento run Functional Tests CE |
1 similar comment
|
@magento run Functional Tests CE |
|
@magento run Functional Tests EE |
|
@magento run Functional Tests B2B |
1 similar comment
|
@magento run Functional Tests B2B |
|
@magento run Semantic Version Checker |

Description (*)
Refactory InventoryDistanceBasedSourceSelection plugin to show the exceptions
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)