Actions
Bug #6322
closedWe need to clean up the Foreman environments when deleting a ContentViewEnvironment or ContentViewVersion
Description
I think this code in KTEnvironment needs to be applied to content view version deletion actions:
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
Updated by David Davis over 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
Updated by Justin Sherrill over 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
Updated by The Foreman Bot over 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/4414 added
Updated by Justin Sherrill over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|6421c79a6ed7a92384b4dd4126a3105511e3c40e.
Actions