-
Notifications
You must be signed in to change notification settings - Fork 111
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
Observer name "sales_order_save_after" is too generic. #1516
Closed
Comments
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
This was
linked to
pull requests
Aug 18, 2022
Merged
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
rename all admin observers closes #1516 for magento 2.1
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
rename all admin events closes #1516 for magento 2.2
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
rename all admin observers closes #1516 for magento 2.3.6-p1
gonzaloebiz
added a commit
that referenced
this issue
Aug 18, 2022
rename all admin observers closes #1516 for magento 2.3
Thanks @mpvdk for pointing that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is an observer named "sales_order_save_after" in etc/adminhtml/events.xml. This name is too generic. Magento merges all observers in a keyed array, so if any have the same name, they override one another.
Suggested solution:
Rename observer to "mailchimp_sales_order_save_after". Which adheres to the logic all your other observers are named.
The text was updated successfully, but these errors were encountered: