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.
Updated by Dominic Cleal almost 9 years ago
- Subject changed from Reports error out when plugin is uninstalled to Reports throw error with unknown mailers when plugin is uninstalled
- Category changed from Reporting to E-Mail
Updated by Dominic Cleal almost 9 years ago
- Related to Feature #3588: Uninstall plugins - from GUI or command line added
Actions