Error on migrate_plus_test.info.yml

The 'core' or the 'core_version_requirement' key must be present in modules/contrib/migrate_plus/tes
ts/modules/migrate_plus_test/migrate_plus_test.info.yml

I'll attach the path

CommentFileSizeAuthor
#2 3101322-still-support-for-drupal-8-2.patch517 bytesmaxpah

Comments

MaxPah created an issue. See original summary.

maxpah’s picture

StatusFileSize
new517 bytes

Here the patch

heddn’s picture

In what version of drupal is this an issue? 8.7 or 8.8?

heddn’s picture

And what error do you get and how does it manifest itself?

maxpah’s picture

It's on Drupal 8.8 after a composer update this afternoon when running drush cr command.

heddn’s picture

Do you have $settings['extension_discovery_scan_tests'] = TRUE; set in settings.php by any chance?

heddn’s picture

Depending on if that is set true, then #3096609: Allow contrib test modules to not need a core or core_version_requirement key is probably what is causing your issues.

heddn’s picture

Status: Active » Postponed (maintainer needs more info)
fathershawn’s picture

I'm getting the same error after moving to core 8.8.1

In InfoParserDynamic.php line 68:

  The 'core' or the 'core_version_requirement' key must be present in modules
  /contrib/migrate_plus/tests/modules/migrate_plus_test/migrate_plus_test.inf
  o.yml

I do not have $settings['extension_discovery_scan_tests'] = TRUE; set and still get the error after explicitly setting it to false, although a a scan of my code base does not show it set anywhere else.

fathershawn’s picture

Status: Postponed (maintainer needs more info) » Active
fathershawn’s picture

Using the patch got me back to work, but I wonder if there is an error in the new core code since this occurred right after upgrading to 8.8.1

alexpott’s picture

fathershawn’s picture

Co-incidental then - I must have also upgraded migrate_plus around the same time

  • heddn committed d2fa7fa on 8.x-5.x authored by MaxPah
    Issue #3101322 by MaxPah, heddn, FatherShawn, alexpott: Error due to...
heddn’s picture

Status: Active » Fixed

Committed and pushed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.