Project

General

Profile

Actions

Bug #6322

closed

We need to clean up the Foreman environments when deleting a ContentViewEnvironment or ContentViewVersion

Added by David Davis almost 10 years ago. Updated almost 6 years ago.

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

Description

I think this code in KTEnvironment needs to be applied to content view version deletion actions:

http://goo.gl/Lhf8kZ

    self.content_views.each do |content_view|
      if foreman_env = Environment.find_by_katello_id(self.organization, self, content_view)
        foreman_env.destroy
      end
    end
Actions #1

Updated by David Davis almost 10 years ago

  • Subject changed from We need to clean up the foreman environment when deleting a ContentViewEnvironment or ContentViewVersion to We need to clean up the Foreman environments when deleting a ContentViewEnvironment or ContentViewVersion
Actions #2

Updated by Justin Sherrill almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Justin Sherrill
  • Target version set to 48
  • translation missing: en.field_release set to 13
  • Difficulty set to easy
Actions #3

Updated by Eric Helms almost 10 years ago

  • Target version changed from 48 to 49
Actions #4

Updated by Eric Helms almost 10 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by Eric Helms almost 10 years ago

  • Target version changed from 49 to 54
Actions #6

Updated by The Foreman Bot almost 10 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4414 added
Actions #7

Updated by Justin Sherrill almost 10 years ago

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

Also available in: Atom PDF