Skip to content
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

Review the use of events in the NewsLetterSubscription service #5300

Closed
RomanovM opened this issue Jan 25, 2021 · 1 comment
Closed

Review the use of events in the NewsLetterSubscription service #5300

RomanovM opened this issue Jan 25, 2021 · 1 comment

Comments

@RomanovM
Copy link
Contributor

RomanovM commented Jan 25, 2021

nopCommerce version: develop

We moved the generic events publishing from services to the repository, but for some reason left for the above service.
We also have a separate EmailSubscribedEvent and EmailUnsubscribedEvent events for this.
This all leads to duplicate events and the impossibility of using them correctly in plugins. So, let's check and review using all of these events in the service.

Source: https://www.nopcommerce.com/en/boards/topic/90037/handleevententityinsertedeventnewslettersubscription-eventmessage-gets-called-twice

@skoshelev
Copy link
Contributor

Closed #5300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants