Commit 96dfe01
committed
Ensure export_dispatch makes new export instance
Fixes an issue where using `export_dispatch` with scheduled tasks
created duplicate ExportInstance records in the DB, because the "-1"
instance_pk ends up getting passed through to `delegate_batch` and the
various callbacks. If `export_dispatch` creates the exporter, then it
can pass the actual PK and avoid creating duplicates.1 parent 8ac2805 commit 96dfe01
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
0 commit comments