Project

General

Profile

Actions

Bug #11570

closed

Smart class parameter overrides not removed on host deletion

Added by Dominic Cleal over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since #11425, it appears that smart class parameter overrides based on FQDNs, and presumably host groups, are not being deleted when the host is deleted. This causes the lookup key to later fail validation when changed.

It looks like the dependent destroy was removed at https://github.com/theforeman/foreman/commit/9dd005342b8424bdf5453b9b0e0a27989b7f3079#diff-4d26af5acbc256436626e7dbe476e3deL33


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #11425: add a real primary key to host and hostgroup for lookup_values has_manyClosedTom Caspy08/19/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #11425: add a real primary key to host and hostgroup for lookup_values has_many added
Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2655 added
  • Pull request deleted ()
Actions #3

Updated by Tom Caspy over 8 years ago

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

Also available in: Atom PDF