-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Use tested $fileName in exception message for consistency #32447
base: 2.4-develop
Are you sure you want to change the base?
Conversation
This is a fix for magento#32446. The adapter does not necessarily have $this->_fileName set in the scenario where $filename doesn't exist. For consistency it is best to use the $filename param value here as that is the one that was tested to exist and has the correct value.
Hi @chris-pook. 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 |
@magento run Functional Tests B2B, Integration Tests |
@magento run Functional Tests B2B |
1 similar comment
@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. |
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 @chris-pook Thanks for your contribution
Failed B2B test is not related to changes in this PR
Hi @Den4ik, thank you for the review.
|
@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. |
@magento run all tests |
@magento run Functional Tests EE,Functional Tests B2B,Functional Tests CE,Integration Tests |
@magento run Functional Tests EE,Functional Tests CE,Functional Tests B2B |
Failing functional test are not related to PR changes. |
@engcom-Echo please add supporting information about build failures. Moving it to Extended Testing. |
@magento run all tests |
@magento run Functional Tests B2B ,Functional Tests EE, Functional Tests CE,Integration Tests ,WebAPI Tests |
Functional Tests B2B,Functional Tests CE,Functional Tests EE failure are known and remaining different on last two run on same commit. ACQE-3807 - AdminAdobeStockImagePreviewSameSeriesSeeMoreTest Hence moving it to |
Description
This is a fix for #32446. The adapter does not necessarily have $this->_fileName set in the scenario where $filename doesn't exist. In this case the logged exception has an empty filename. For consistency it is best to use the $filename param value here as that is the one that was tested to exist and has the correct value.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)