Opened 10 years ago
Closed 4 years ago
#25255 closed Bug (fixed)
Squashed migration is not marked as unapplied
| Reported by: | Markus Holtermann | Owned by: | Jacob Walls |
|---|---|---|---|
| Component: | Migrations | Version: | 1.8 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
When unapplying a squashed migration and the replaced migration files are still around, the MigrationExecutor mark the squash migration as unapplied, too, not only the replaced migrations.
Change History (10)
comment:1 by , 10 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | MigrationExecutor.check_replacements() doesn't take care of unapplied migrations → Squashed migration is not marked as unapplied |
Version 0, edited 10 years ago by (next)
comment:4 by , 10 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:5 by , 10 years ago
| Patch needs improvement: | set |
|---|---|
| Triage Stage: | Ready for checkin → Accepted |
The commit this depends on is moved to "Work in progress" status, so moving this off the checkin queue.
comment:6 by , 10 years ago
| Has patch: | unset |
|---|---|
| Patch needs improvement: | unset |
Updated ticket, since original PR was closed.
comment:7 by , 10 years ago
| Has patch: | set |
|---|---|
| Patch needs improvement: | set |
"Has patch + Patch needs improvement" is the correct status.
comment:8 by , 4 years ago
| Owner: | changed from to |
|---|---|
| Patch needs improvement: | unset |
| Status: | new → assigned |
comment:9 by , 4 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
While working on #24800 I realized that the issue is actually not fully correct. The squashed migration i not marked as applied