Actions
Bug #19317
closedPlugin and dashboard widget registry auto-reloaded
Difficulty:
Triaged:
Description
Since #18445, the plugin and related classes may be reloaded, losing registrations - probably for plugin registrations, default dashboard widgets, modified menu items, and permissions.
The change to use require_dependency
will allow Rails to track the constants and reload them when the source files are modified, discarding the class variable. The use of require_dependency
is however required to ensure eager loading doesn't load the file twice (#18445).
The source files may need to be moved to prevent double-loading and to be excluded from autoloading.
Updated by Dominic Cleal over 7 years ago
- Related to Bug #18445: "Cannot define multiple 'included' blocks" for audit_extensions with eager_load enabled added
Updated by Tomer Brisker over 7 years ago
- Related to Bug #10927: Resetting dashboard to default widgets adds no widgets added
Updated by Dominic Cleal over 7 years ago
- Has duplicate Bug #19318: Plugins infrastructure don't work reliably in development added
Updated by John Mitsch over 7 years ago
- Has duplicate Bug #19290: Unable to retrieve API bindings via hammer added
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4472 added
Updated by Justin Sherrill over 7 years ago
- Related to Bug #19351: transient test failure added
Updated by Dominic Cleal over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 40fffe690bcd7d044f11e8ec127ca4efb49254db.
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/4507 added
Updated by Marek Hulán over 7 years ago
- Translation missing: en.field_release set to 240
Actions