Project

General

Profile

Actions

Bug #8005

closed

Another autoloading o NIC models issue

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

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

Description

https://github.com/theforeman/foreman/commit/5da15d1ad20a71b65ad858d392e17fb46f074480 introduced a new issue of loading NIC models. Running specific tests fails because when loading Nic::Managed we loads Nic::Base which defined Nic::TYPES listing Nic::Managed (not loaded yet but in being loaded files array). Types are used only in API for listing values that can be used and it's converted to array of strings so we can safely define them as strings in class definition.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #7934: Autoloading of Nic models does not work in some casesClosedMarek Hulán10/14/2014Actions
Related to Foreman - Bug #8044: uninitialized constant Nic::Interface (NameError) when running sporkDuplicateJoseph Magen10/23/2014Actions
Actions #1

Updated by Marek Hulán over 9 years ago

  • Related to Bug #7934: Autoloading of Nic models does not work in some cases added
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1866 added
  • Pull request deleted ()
Actions #3

Updated by Marek Hulán over 9 years ago

  • Assignee changed from Marek Hulán to Tomáš Strachota
  • Pull request https://github.com/theforeman/foreman/pull/1871 added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/1866)
Actions #4

Updated by Marek Hulán over 9 years ago

  • Related to Bug #8044: uninitialized constant Nic::Interface (NameError) when running spork added
Actions #5

Updated by Anonymous over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF