Deleting an Archive should cause a cascading delete on FKs to Archive

Bug #544046 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Julian Edwards

Bug Description

Deleting an Archive should cause a cascading delete on FKs to Archive. This is in preparation to fixing bug 392887.

Related branches

Revision history for this message
Julian Edwards (julian-edwards) wrote :

SPRs should not be deleted just because the upload_archive points to the PPA being deleted. Having discussed this with Cody, we're going to set it to NULL to indicate that the original PPA was deleted.

We then need a separate cascading deletion for SPR and things with a FK to it.

Changed in soyuz:
status: New → Triaged
importance: Undecided → High
tags: added: ppa
Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Julian Edwards (julian-edwards) wrote :

The last archive that publishes the SPR will end up deleting it and all the SourcePackageReleaseFiles etc.

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in soyuz:
assignee: nobody → Julian Edwards (julian-edwards)
milestone: none → 10.03
status: In Progress → Fix Committed
tags: added: qa-needstesting
tags: removed: qa-needstesting
Ursula Junque (ursinha)
tags: added: qa-untestable
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.