Project

General

Profile

Actions

Bug #10331

closed

Can't delete Lifecycle Environment when hosts are assigned to Content View

Added by Stephen Benjamin over 9 years ago. Updated over 6 years ago.

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

Description

The foreign key on KTEnvironment association with hosts is incorrect:

    has_many :hosts,      :class_name => "::Host::Managed", :foreign_key => :content_view_id,
                              :inverse_of => :lifecycle_environment, :dependent => :restrict
Actions

Also available in: Atom PDF