Problem/Motivation
The Migrate UI was introduced to with only basic tests added in #2647470: Write tests. And no tests for the rollback feature.
Proposed resolution
Add tests for the rollback feature.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 2678994-7.patch | 3.2 KB | alexpott |
| #3 | 1-3-interdiff.txt | 879 bytes | abhishek-anand |
| #3 | rollback_tests-2678994-3.patch | 2.3 KB | abhishek-anand |
| rollback-tests.patch | 2.18 KB | xjm |
Comments
Comment #3
abhishek-anand commentedAdding a small change.
The tests are failing because the rollback itself is not clean. Also the following error is also present in the watchdog while doing the rollback manually.
This appears to be a bug with the migrate module itself.
Debugging it further.
Comment #4
xjmComment #6
alexpottThis needs to happen asap.
Comment #7
alexpottRe-rolled for core and fixing a problem that happens when a migration has failed and is marked as so...
Whilst
Drupal\migrate_drupal_ui\Tests\d6\MigrateUpgrade6Testrunning field_test_phone fails... and then rolling it back without this patch is problematic.Comment #9
alexpottComment #10
benjy commentedComment #11
mikeryanRollback was removed from the UI, and tests are part of the issue to reinstate them: #2687849: Add back rollbacks on migrate_drupal_ui.