Project

General

Profile

Actions

Bug #37043

closed

Facets with hostgroup inherit override host-specific facet values

Added by Alexander Olofsson 6 months ago. Updated 18 days 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

Also available in: Atom PDF