| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 2978664-14-migration.patch | 3.19 KB | trebormc |
| #13 | 2978664-13-migration.patch | 3.59 KB | roam2345 |
| #3 | 2978664-migration.patch | 3.18 KB | techcodify |
| #2 | 2978664-migration.patch | 1.54 KB | techcodify |
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 2978664-14-migration.patch | 3.19 KB | trebormc |
| #13 | 2978664-13-migration.patch | 3.59 KB | roam2345 |
| #3 | 2978664-migration.patch | 3.18 KB | techcodify |
| #2 | 2978664-migration.patch | 1.54 KB | techcodify |
Comments
Comment #2
techcodify commentedchecking process pipeline is an array to eliminate warning messages in migration.
Comment #3
techcodify commentedLatest patch file includes fix for Invalid argument warning in another location in Migration php.
Comment #4
avpadernoComment #5
quietone commented@techcodify, Welcome to Drupal! Thanks for the patch too.
The issue summary should state what problem is the patch is to solve. What were you doing and the time and where there any error messages? Providing steps to reproduce the problem will help anyone looking into this issue. If you haven't seen it there is documentation for creating issues that you may find helpful.
Tagging for IS update and adding related issue.
Comment #7
waverate commenteddrush migrate:import [MigrationID] returns:
[warning] Invalid argument supplied for foreach() Migration.php:633Patch #3 fixes it.
Also cleans up migrate:rollback and migrate:status.
@kiamlaluno: Thank you.
Comment #8
geek-merlinHmm, i wonder in what circumstances an item is not an array. My gut feeling is that we should look into getProcessNormalized() and do a fix there.
Comment #9
quietone commented@alex.rutz, yes need to know more here.
@techcodify and @waverate, can you provide the process portion of the migration where you got the error so the error can be reproduced? That will be needed to write tests, which are also needed to get a fix committed.
Comment #10
geek-merlinLooking into the source, i can see several situations where the current code in getProcessNormalized() and getProcessPlugins() will not throw meaningful messages. I guess we will rename this "Provide a meaningful error message for badly configured process plugins".
Comment #13
roam2345 commentedreroll patch no longer applies.
Comment #14
trebormcrerolled patch #3 for drupal 8.8.1
Comment #15
hongpong commentedPeople using wordpress_migrate attempting to generate URL aliases ran into the problem that seems to be related to this thread - I have not checked into this myself yet. (transitioning URLs out of WordPress into Drupal)
See #2904545: Import permalink as URL paths
Comment #17
quietone commentedAs part of the Bug smash initiative, we are triaging issues that are marked 'Postponed (maintainer needs more info)'. It looks like #2969231: errors in migration process configuration don't give a clear message has fixed this and this issue is no longer relevant so I am marking it 'Closed (outdated)'.
Comment #18
quietone commentedSorry for the noise, this wasn't a bug, removing tag.