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 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