Description of problem: Repositories do not appear in the GUI upon re-creating the content provider Version-Release number of selected component (if applicable): master and content branch How reproducible: Steps to Reproduce: 1. create an RHN Hosted Source content provider 2. Sync it 3. Verify its list of provided repos appear 4. Delete it 5. create a new RHN Hosted Source content provider (using same new name or a different name) 6. Sync it BANG! Its repos never populate in the GUI even though the logs appear to be fetching the repo names.
Commit 1c1c31a90b52e5a9f490733cd46a180a8df6b15e ContentSourceManagerBean.java RepoManagerBean.java RepoManagerBeanTest.java Need to delete orphaned candidate repos before removing their association to the content source, otherwise the delete call doesn't find any candidates to delete. Removed some redundant deletes given the cascade settings of ContentSource.
QA Closing this bug - essentially untestable at this point.