Project

General

Profile

Refactor #34009

Feature #29991: Enable Zeitwerk autoload mode for Rails 6+

Refactor #33886: Fix early loads of constants

Refactor #34006: Plugin and its rbac_support are using Role and Permission models too early

Add plugin after_initialize hook

Added by Ondřej Ezr 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

Some actions that are happening immediatelly will need to be postponed after the Rails is fully initialized.

Associated revisions

Revision d6dd67c4 (diff)
Added by Ondřej Ezr 4 months ago

Fixes #34009 - add finalization hook to plugin

Add a method, that finalizes the plugin setup.
This should serve as a hook to do stuff that needs to be done only after the initialization of Foreman completed.

History

#1 Updated by The Foreman Bot 6 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8955 added

#2 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8954 added

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 3.2.0 added

#4 Updated by Ondřej Ezr 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF