Problem/Motivation
The migration ID map tables have a rollback_action column - setting MigrateIdMapInterface::ROLLBACK_PRESERVE in this column should mean that on rollback, the destination item should not be deleted. This is not being respected - entities get deleted regardless of the setting. Blocker for #2598696: Rollback should not delete uid 1
Proposed resolution
Respect the flag!
Remaining tasks
- Submit failing test.
- Fix it.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | rollback_preserve_is-2599152-6.patch | 3.06 KB | mikeryan |
| #6 | interdiff.txt | 1.11 KB | mikeryan |
| #3 | rollback_preserve_is-2599152-3-FAIL.patch | 1.64 KB | mikeryan |
Comments
Comment #2
mikeryanComment #3
mikeryanActually pretty simple.
Comment #5
jhedstromThis test and fix make sense to me. One small nit:
Indentation needs to be fixed here.
Comment #6
mikeryanIndentation fixed, gotta figure out how to get PhpStorm to not do that...
Comment #8
mikeryanFound the setting, turned off "Align if multiline"...
Comment #10
mikeryanNo idea how I managed to upload that old patch...
Comment #11
jhedstromI think this is good to go.
Comment #13
webchickSince these changes are purely against an experimental module, it's RC eligible; no need to triage it.
Comment #14
webchickCommitted and pushed to 8.0.x. Thanks!