Project

General

Profile

Actions

Bug #5690

closed

Taxonomy fact name not retrieved from settings

Added by Stephen Benjamin over 10 years ago. Updated over 6 years ago.

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

Description

In app/models/host/base.rb:

taxonomy_from_fact = taxonomy_class.find_by_title(facts["#{taxonomy}_fact"])

should be

taxonomy_from_fact = taxonomy_class.find_by_title(facts[Setting["#{taxonomy}_fact"]])

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #3214: No location / Organization if host added by default from puppet runClosedDaniel Lobato Garcia10/08/2013Actions
Has duplicate Foreman - Bug #5699: The "location_fact" setting does not actually look for a custom factDuplicate05/13/2014Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Translation missing: en.field_release set to 16
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #3214: No location / Organization if host added by default from puppet run added
Actions #4

Updated by Stephen Benjamin over 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
Actions #5

Updated by Dominic Cleal over 10 years ago

  • Target version set to 1.8.3
Actions #6

Updated by Dominic Cleal over 10 years ago

  • Has duplicate Bug #5699: The "location_fact" setting does not actually look for a custom fact added
Actions #7

Updated by Stephen Benjamin over 10 years ago

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

Updated by Bryan Kearney over 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107695
Actions

Also available in: Atom PDF