Project

Profile

Help

Issue #9417

closed

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

ACS content isn't cleaned up with orphan removal

Added by daviddavis about 1 year ago. Updated about 1 year 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.

Also available in: Atom PDF