Project

General

Profile

Actions

Bug #12645

closed

Reports throw error with unknown mailers when plugin is uninstalled

Added by Lukas Zapletal over 8 years ago. Updated almost 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 #1

Updated by Dominic Cleal over 8 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
Actions #2

Updated by Dominic Cleal over 8 years ago

  • Related to Feature #3588: Uninstall plugins - from GUI or command line added
Actions #3

Updated by yifat makias almost 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF