Bug 1107695

Summary: Taxonomy fact name not retrieved from settings
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ProvisioningAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, jmontleo
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5690
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:20:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Kearney 2014-06-10 12:51:54 UTC
In app/models/host/base.rb:

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

should be

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

Comment 1 Bryan Kearney 2014-06-10 12:51:56 UTC
Created from redmine issue http://projects.theforeman.org/issues/5690

Comment 2 Bryan Kearney 2014-06-10 13:04:17 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5690 has been closed

Comment 5 Bryan Kearney 2014-09-11 12:20:13 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.