Project

General

Profile

Actions

Bug #35358

closed

Tracker #33447: Alternate Content Sources Support Tracker (MVP)

Simplified ACS products are not removed if the last repository in the product of th ACS's type has its URL removed

Added by Ian Ballou over 1 year ago. Updated about 1 year ago.

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

Description

All of the SmartProxyAlternateContentSources are deleted properly, but the product is not removed from the ACS. It should be, since the list of smart proxies will have been emptied out.

To fix, this part of Repository::Destroy needs to be added to Repository::Update where ACS changes are handled for URL updates: https://github.com/Katello/katello/blob/master/app/lib/actions/katello/repository/destroy.rb#L67-L73

Actions

Also available in: Atom PDF