Commit 4c1a9f1
committed
fix: deps backfill fails due to missing log_record
This migration used to use the current models, which have a "log_record"
property in order to normalize things more between the Draft and
Published models, but this is not present in the historical models that
this migration was shifted to.
This fix uses the current Published/Draft verisons where that was
equivalent to checking the log records, and explicitly switches between
draft_log_record and publish_log_record in the places where we need to.
Increments version to 0.38.21 parent c997e66 commit 4c1a9f1
2 files changed
Lines changed: 13 additions & 4 deletions
File tree
- src
- openedx_content/backcompat/publishing/migrations
- openedx_core
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
408 | 417 | | |
409 | 418 | | |
410 | | - | |
| 419 | + | |
411 | 420 | | |
412 | 421 | | |
413 | 422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
0 commit comments