Project

General

Profile

Actions

Bug #15256

closed

Deprecated plugin registration initializer in use, must be changed for 1.13

Added by Dominic Cleal over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

foreman-tasks causes the following deprecation warning to be issued on startup - the initialiser must be changed per the message:

Initializing plugins using :after => :finish_hook in your engine is deprecated. It delays the load of some assets in Sprockets. If you are the plugin author, please change your plugin engine initializer to use :before => :finisher_hook or after_initialize.  Affected initializer name is foreman_tasks.register_plugin.

The support is being removed in develop/1.13 under #13845, and I suspect this causes test failures for Katello and other plugins using foreman-tasks.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #13845: Remove 1.13 deprecationsClosedDominic Cleal02/23/2016Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman-tasks/pull/189 added
Actions #3

Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF