Project

General

Profile

Bug #10331

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

Added by Stephen Benjamin about 7 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Associated revisions

Revision a0ee7b07 (diff)
Added by Stephen Benjamin about 7 years ago

fixes #10331 - fix assocation from lifecycle environment to hosts

Revision 0b5cac52
Added by Stephen Benjamin about 7 years ago

Merge pull request #5201 from stbenjam/10331

fixes #10331 - fix assocation from lifecycle environment to hosts

History

#1 Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5201 added
  • Pull request deleted ()

#2 Updated by Justin Sherrill about 7 years ago

  • Legacy Backlogs Release (now unused) set to 51

#3 Updated by Anonymous about 7 years ago

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

#4 Updated by Eric Helms about 7 years ago

  • Triaged changed from No to Yes

#5 Updated by Bryan Kearney over 6 years ago

  • Bugzilla link set to 1269441

Also available in: Atom PDF