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 Marek Hulán about 10 years ago
- Related to Bug #7934: Autoloading of Nic models does not work in some cases added
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1866 added
- Pull request deleted (
)
Updated by Marek Hulán about 10 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)
Updated by Marek Hulán about 10 years ago
- Related to Bug #8044: uninitialized constant Nic::Interface (NameError) when running spork added
Updated by Anonymous about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset cad1b13c8c0d932711dc6f4f41589077849dc72d.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 21
Actions