Project

General

Profile

Actions

Bug #37043

closed

Facets with hostgroup inherit override host-specific facet values

Added by Alexander Olofsson 6 months ago. Updated 23 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 #1

Updated by The Foreman Bot 6 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 4 months ago

  • Fixed in Releases 3.11.0 added
Actions #3

Updated by Alexander Olofsson 4 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden 23 days ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF