-
Notifications
You must be signed in to change notification settings - Fork 9.4k
19404 fixed newsletter issue #19416
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
19404 fixed newsletter issue #19416
Conversation
Branch updated
Update Magento
Hi @Dharmeshvaja91. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
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.
Thanks for your contribution. Please see the review notes. Also, please note that this issue is already fixed in #19406
$e, | ||
__('There was a problem with the subscription: %1', $e->getMessage()) | ||
); | ||
$this->messageManager->addErrorMessage(__('This email address is already subscribed.')); |
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 think the throw exception on line 146 should be replaced with this messageManager call. Here several different exceptions are possible (i.e. validateEmailFormat also throws LocalizedException)
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.
@sivaschenko yes you are right, I will change this too.
@Dharmeshvaja91 thanks for the contribution. Unfortunately, I have to ask you to close this pull request as it is a duplicate. The issue is already fixed in #19406 |
@sivaschenko thank you for your comments on this i have just checked solution as per this pull request #19406 but still i m getting the same issue. As per you instruction i have updated my code as well |
@sivaschenko He have closed his pull request, so please accept my pull request. |
Hi @sivaschenko, thank you for the review. |
@Dharmeshvaja91 thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
Hi @Dharmeshvaja91. Thank you for your contribution. |
Description (*)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)