forked from pulp/pulpcore
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When there was a completed export in the task list, task purge would fail as the task could not be deleted because of a dependency to a linked object. This issue has been resolved. fixes: pulp#3741
- Loading branch information
1 parent
ffcd321
commit 08a2c3b
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed issue with deleting export tasks via purge. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.18 on 2023-04-04 16:30 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0102_add_domain_relations'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='export', | ||
name='task', | ||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.task'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters