Actions
Refactor #15525
closedFact-type specific host's last_compile time
Description
The last_compile time is right now global. Which means:
1. importing facts of one type would prevent importing facts of another type (see http://projects.theforeman.org/issues/15524 for specific case), due to https://github.com/theforeman/foreman/blob/1.11.3/app/models/host/base.rb#L142
2. the time of the fact might be wrong https://github.com/theforeman/foreman/blob/1.11.3/app/helpers/fact_values_helper.rb#L3, as the last_compile time is used
to show time of the fact.
We should probably make the last_compile a type-specific type so that they don't interfere with each other.
Updated by Ivan Necas over 8 years ago
- Related to Bug #15524: Registering host with subscription-manager prevents loading puppet facts in subequent run added
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Pull request https://github.com/theforeman/foreman/pull/3615 added
Updated by Stephen Benjamin over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset abdced078c280a72ee1992fbbfd29772d7fc1ce2.
Updated by Dominic Cleal over 8 years ago
- Translation missing: en.field_release set to 161
Actions