Problem/Motivation

Adding both core and core_version_requirement with anything other than core_version_requirement: ^8 || ^9 || ^10 will result in an exception. This is not valid because the core: key would include versions that do not recognize the core_version_requirement: key.

Found this core key in submodule.

Steps to reproduce

1. Install the module
2. Go to this xmlrpc_example submodule directory
3. Check .info file.

Proposed resolution

For example, a module that is compatible with Drupal 8 versions after Drupal 8.8.0 and also Drupal 9 will need an info.yml file like this:

name: My Module
type: module
core_version_requirement: ^8 || ^9 || ^10

Issue fork xmlrpc-3371024

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Priya_Degwekar created an issue. See original summary.

Priya_Degwekar’s picture

Assigned: Unassigned » Priya_Degwekar

Priya_Degwekar’s picture

Assigned: Priya_Degwekar » Unassigned
Status: Active » Needs review

Hello Maintainer,
I have opened #MR7 to fix the issue.
Please review ..Thanks :)

Harshita mehna’s picture

Status: Needs review » Reviewed & tested by the community

Hello, @Priya_Degwekar #MR7 is working fine.
Thanks!

MegaChriz made their first commit to this issue’s fork.

MegaChriz’s picture

Status: Reviewed & tested by the community » Fixed

Merged!

Status: Fixed » Closed (fixed)

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