Project

General

Profile

Actions

Bug #12645

closed

Reports throw error with unknown mailers when plugin is uninstalled

Added by Lukas Zapletal almost 9 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
E-Mail
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (1 open0 closed)

Related to Foreman - Feature #3588: Uninstall plugins - from GUI or command lineNew11/06/2013Actions
Actions

Also available in: Atom PDF