Actions
Bug #12645
closedReports throw error with unknown mailers when plugin is uninstalled
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
E-Mail
Target version:
-
Description
When a plugin which creates a mailer via seed script is uninstalled or disabled, reports cease to work since the code for the mailer disappears. The error message is:
NameError: uninitialized constant DiscoveredMailer
We should skip uninitialized classes in this case, or move the mailer registration from seeds into new Plugin API.
Actions