Problem/Motivation

DataParserPluginBase constructor change breaks migrations after 6.0.5.
The __construct in migrate_plus/src/DataParserPluginBase.php requires 4 elements versus the 3. My problem is solved, but in case people find the same error.

The construct fix was to add the library and follow the code change for the constructor:
use Drupal\migrate_plus\DataFetcherPluginManager;

public function __construct(array $configuration, $plugin_id, $plugin_definition) {

}

changes to

public function __construct(
array $configuration,
$plugin_id,
$plugin_definition,
DataFetcherPluginManager $fetcherPluginManager,
) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $fetcherPluginManager);

}

This was causing the error:

ArgumentCountError: Too few arguments to function Drupal\migrate_plus\DataParserPluginBase::__construct(), 3 passed in /src/Plugin/migrate_plus/data_parser/SoapFieldsOfStudy.php on line 52 and exactly 4 expected in Drupal\migrate_plus\DataParserPluginBase->__construct() (line 57 of /code/web/modules/contrib/migrate_plus/src/DataParserPluginBase.php) #0 /src/Plugin/migrate_plus/data_parser/SoapFieldsOfStudy.php(52): Drupal\migrate_plus\DataParserPluginBase->__construct()

Steps to reproduce

Proposed resolution

Provide major version changes rather than a minor change.

Comments

cjboranp created an issue.