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
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
Comment #2
Priya_Degwekar CreditAttribution: Priya_Degwekar as a volunteer and at Smashing Infolabs Pvt. Ltd. commentedComment #4
Priya_Degwekar CreditAttribution: Priya_Degwekar as a volunteer and at Smashing Infolabs Pvt. Ltd. commentedHello Maintainer,
I have opened #MR7 to fix the issue.
Please review ..Thanks :)
Comment #5
Harshita mehna CreditAttribution: Harshita mehna at Smashing Infolabs Pvt. Ltd. commentedHello, @Priya_Degwekar #MR7 is working fine.
Thanks!
Comment #8
MegaChriz CreditAttribution: MegaChriz at WebCoo commentedMerged!