Problem/Motivation
When running some migration, source plugins stopped with missing source plugin exceptions (e.g. Drupal\comment\Plugin\migrate\source\d7\Comment)
This exception was occured in DrupalSqlBase->checkRequirements method. This method executes moduleExists method in self.
DrupalSqlBase->moduleExists method check module existence from returned data of getSystemData method.
And this method gets data from system table on database.
But system table was removed in core. https://www.drupal.org/node/1813642
So, this method will return empty array every time.
Also moduleExists methos will return FALSE.
Proposed resolution
I don't know to fix getSystemData method.
Temporary, moduleExists method can fix use following code
Drupal::moduleHandler()->moduleExists($module);
But this is for module existence check only. I'm not sure that getSystemData method is used by moduleExists method only.
Remaining tasks
Need works.
Comments
Comment #2
barami commentedComment #3
chx commentedPlease see the change notice you linked:
you are trying to migrate a D8 site to D8, this is not yet supported.
Comment #4
barami commentedchx//
No, As i mentions above post (Drupal\comment\Plugin\migrate\source\d7\Comment), I'm had tried migrate drupal 7 site to 8...
I finished migrate after modify that code, And never tried twice.
But i clearly tried migration from drupal 7 to drupal 8..
I wonder what's my fault?
PS. I used d7_comment source in yml.
Here is my custom migration module code. https://github.com/Barami/migrate_barami
Comment #5
barami commentedI think this is not important.
When this problem is reproduced, I'll reopen this issue. But I don't feel to try this.
I'm sorry for angry with your comment.