Project

Profile

Help

Issue #9417

Story #7832: [EPIC] As a user, I have Alternate Content Sources

ACS content isn't cleaned up with orphan removal

Added by daviddavis 30 days ago. Updated 11 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 105
Quarter:

Description

Steps to reproduce:

  1. Create an ACS and refresh it
  2. Observe the new content units
  3. Remove the ACS
  4. Run orphan cleanup
  5. Observe that ACS's content is still present

This is because the ACS repos aren't cleaned up when the ACS is deleted. We have a many-to-many relationship between ACS and repos and cascade deletion doesn't work.

I think we should probably add a hook on ACS delete to delete the repos as well.

Associated revisions

Revision 20f6520a View on GitHub
Added by ipanova@redhat.com 29 days ago

Ensured that with the removal of ACS it's hidden repositories are removed as well.

closes #9417 closes #9374

History

#1 Updated by ipanova@redhat.com 29 days ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Sprint set to Sprint 105

#2 Updated by ipanova@redhat.com 29 days ago

  • Parent task set to #7832

#3 Updated by pulpbot 29 days ago

  • Status changed from ASSIGNED to POST

#4 Updated by ipanova@redhat.com 29 days ago

  • Status changed from POST to MODIFIED

#5 Updated by pulpbot 11 days ago

  • Sprint/Milestone set to 3.16.0

#6 Updated by pulpbot 11 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF