Actions
Bug #8005
closedAnother autoloading o NIC models issue
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.
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset cad1b13c8c0d932711dc6f4f41589077849dc72d.
Actions