Project

General

Profile

Actions

Bug #14969

closed

Custom status is not reloaded correctly

Added by Marek Hulán almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If a custom status is registered from a plugin and user is running Foreman in development mode, status class is not correctly reloaded in HostStatus.status_registry. When we later iterate over it, status is missing there and is not refreshed. To reproduce, install e.g. remote execution plugin and try to do some change in code. After another job invocation, the status is not updated (good place to observe with pry is finalize method of RunHostJob action)


Related issues 2 (0 open2 closed)

Related to Foreman - Refactor #12747: Provide some kind of central store or consistent way to manage dynamically registered objects from pluginsResolved12/08/2015Actions
Blocked by Foreman - Feature #14588: Improve extending template helpers from plugin ClosedMarek Hulán04/12/2016Actions
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3508 added
Actions #2

Updated by Dominic Cleal almost 8 years ago

  • Related to Refactor #12747: Provide some kind of central store or consistent way to manage dynamically registered objects from plugins added
Actions #3

Updated by Marek Hulán almost 8 years ago

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

Updated by Dominic Cleal almost 8 years ago

  • Blocked by Feature #14588: Improve extending template helpers from plugin added
Actions #5

Updated by Dominic Cleal almost 8 years ago

  • translation missing: en.field_release set to 136
Actions

Also available in: Atom PDF