Exception are not translated to store scope#32953
Exception are not translated to store scope#32953magento-devops-reposync-svc merged 21 commits intomagento:2.4-developfrom
Conversation
|
Hi @rikwillems. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 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, 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 |
|
@magento run all tests |
|
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. |
|
@magento run Functional Tests B2b, WebAPI Tests |
|
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. |
|
@magento run Semantic Version Checker |
|
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. |
Den4ik
left a comment
There was a problem hiding this comment.
@rikwillems Thanks for your contribution.
Please look at my comments and update adding of new constructor params based on Backward Compatibility Policy
| HttpResponse $httpResponse = null, | ||
| ContextFactoryInterface $contextFactory = null | ||
| ContextFactoryInterface $contextFactory = null, | ||
| AreaList $areaList |
There was a problem hiding this comment.
| AreaList $areaList | |
| AreaList $areaList = null |
| $this->jsonFactory = $jsonFactory ?: ObjectManager::getInstance()->get(JsonFactory::class); | ||
| $this->httpResponse = $httpResponse ?: ObjectManager::getInstance()->get(HttpResponse::class); | ||
| $this->contextFactory = $contextFactory ?: ObjectManager::getInstance()->get(ContextFactoryInterface::class); | ||
| $this->areaList = $areaList; |
There was a problem hiding this comment.
| $this->areaList = $areaList; | |
| $this->areaList = $areaList ?: ObjectManager::getInstance()->get(AreaList::class); |
There was a problem hiding this comment.
Please see the updated PR.
|
@magento run all tests |
|
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. |
Den4ik
left a comment
There was a problem hiding this comment.
@rikwillems Thanks for the update. Please see another small request below
| $this->jsonFactory = $jsonFactory ?: ObjectManager::getInstance()->get(JsonFactory::class); | ||
| $this->httpResponse = $httpResponse ?: ObjectManager::getInstance()->get(HttpResponse::class); | ||
| $this->contextFactory = $contextFactory ?: ObjectManager::getInstance()->get(ContextFactoryInterface::class); | ||
| $this->areaList = $areaList ?: ObjectManager::getInstance()->get(AreaList::class);; |
There was a problem hiding this comment.
Please remove double semicolon at the end.
There was a problem hiding this comment.
Oeps... this is removed now.
| * @param ContextFactoryInterface $contextFactory | ||
| * @param LogData $logDataHelper | ||
| * @param LoggerPool $loggerPool | ||
| * @param AreaList $areaList |
There was a problem hiding this comment.
@shikhamis11 can you add really quick the " | null" here to be consistent with the constructor?
|
@magento run all tests |
|
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. |
|
@magento run all tests |
|
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. |
|
@magento run Functional Tests B2B, Functional Tests CE |
|
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. |
|
@magento run Functional Tests B2B |
|
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. |
|
✔️ QA Passed Preconditions:
Manual testing scenario:
Before: ✖️ The GraphQL response was returning the error message with the English language. After: ✔️ The GraphQL response is returning the error message with the set French language exactly. Since it is a GraphQL fix and had the auto-test covered, no additional regression is required on this! |
|
There is a internal PR ticket raised on this same issue and that is being processed. |
|
Hi @engcom-Alfa or @cpartica: is there any news around this? It's kind of annoying that this public issue got closed and replaced by a private issue that the community can not see into, it would be nice if you stopped doing this in the future, thanks! |
|
The effect is because of the process we have. Please don't update the branch or add any new commits or it will not automerge |
|
Hi @rikwillems. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
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. 🕙 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 |


#31351
Description (*)
Related Pull Requests
magento/inventory#3318
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)