Project

General

Profile

Actions

Bug #37043

closed

Facets with hostgroup inherit override host-specific facet values

Added by Alexander Olofsson 4 months ago. Updated about 2 months ago.


Description

Currently, when using a facet that inherits values from hostgroups, it becomes impossible to set values on the host facet.

# E.g.

host.hostgroup.facet.attributes
# => { "value1" => nil }

params = { "facet_attributes" => { "value1" => 1, "value2" => 2 } }

# In HostsController#update
host.apply_inherited_attributes(params)
# => { "facet_attributes" => { "value1" => nil } }
Actions #1

Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Alexander Olofsson
  • Pull request https://github.com/theforeman/foreman/pull/9990 added
Actions #2

Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases 3.11.0 added
Actions #3

Updated by Alexander Olofsson about 2 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF