-
Notifications
You must be signed in to change notification settings - Fork 9.4k
magento/magento2#39861: Shipment email not sent when submitted from Admin Order view despite being enabled in store configuration #39897
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: 2.4-develop
Are you sure you want to change the base?
Conversation
…r view despite being enabled in store configuration - adding storeId to canSendNewShipmentEmail method
Hi @KrasnoshchokBohdan. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
…r view despite being enabled in store configuration - copyright
@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.
Pull Request Overview
This pull request addresses an issue where the shipment email was not sent from the Admin Order view due to a missing store-specific configuration check. The changes include updating the logic to pass the store ID to the email sending check and updating the file header copyright notice.
- Added store-specific check by passing $shipment->getOrder()->getStoreId() to canSendNewShipmentEmail().
- Updated file header copyright from Magento to Adobe.
Comments suppressed due to low confidence (1)
app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save.php:3
- [nitpick] Verify that the updated copyright notice aligns with Magento's licensing policies, as the change from Magento to Adobe may need confirmation.
* Copyright 2015 Adobe
@magento run all tests |
Description (*)
\Magento\Shipping\Controller\Adminhtml\Order\Shipment\Save::execute
without the right 'store id' checks only default config value
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)