Problem/Motivation

After the updates for D10 compatibility in #3287166: Automated Drupal 10 compatibility fixes, this error appears when running database updates:
The 'core_version_requirement' constraint (^8.9 || ^9 || ^10) requires the 'core' key not be set in modules/contrib/eloqua_api_redux/eloqua_api_redux.info.yml

Steps to reproduce

Drupal core 9.5.3
Drush version 11.4.0
Eloqua API Redux version 2.0.0-rc1
After updating to 2.0.0-rc1 and running drush updb, this error appears: The 'core_version_requirement' constraint (^8.9 || ^9 || ^10) requires the 'core' key not be set in modules/contrib/eloqua_api_redux/eloqua_api_redux.info.yml

Proposed resolution

Remove 'core' key from eloqua_api_redux/eloqua_api_redux.info.yml

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

godotislate created an issue. See original summary.

godotislate’s picture

Status: Active » Needs review
godotislate’s picture

Issue summary: View changes
godotislate’s picture

Issue summary: View changes

papagrande’s picture

Status: Needs review » Fixed

Thanks, @godotislate

For documentation: This is because of

The core: key must not be used here to make sure that versions of Drupal before 8.7.7 will not install the module. Adding both core and core_version_requirement with anything other than core_version_requirement: ^8 || ^9 will result in an exception.

in https://www.drupal.org/node/3070687.

Status: Fixed » Closed (fixed)

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