Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
[Drupal\Core\Extension\InfoParserException] The 'core' or the 'core_version_requirement' key must be present in modules/contrib/xmlsitemap/xmlsitemap_engines/t ests/modules/xmlsitemap_engines_test/xmlsitemap_engines_test.info.yml
Steps to reproduce
composer require 'drupal/xmlsitemap:^1.0'
Proposed resolution
Drupal.org package script is missing core: '8.x'
Remaining tasks
n/a
User interface changes
n/a
API changes
n/a
Data model changes
n/a
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff_4-7.txt | 350 bytes | munish.kumar |
#7 | 3165131-7.patch | 1.04 KB | munish.kumar |
| |||
#5 | 1209_522_1.5.png | 42.33 KB | Aaronwa |
#4 | 3165131-4.patch | 1.62 KB | S_Bhandari |
|
Comments
Comment #2
Aaronwa CreditAttribution: Aaronwa commentedIn /contrib/xmlsitemap/xmlsitemap_engines/tests/modules/xmlsitemap_engines_test/xmlsitemap_engines_test.info.yml'
under the section:
it is missing
core: '8.x'
also it can be added to the section above which is commented out in previous versions.
Comment #3
S_Bhandari CreditAttribution: S_Bhandari as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedHi,
I am working on it. Will update as soon as possible.
Thanks.
Comment #4
S_Bhandari CreditAttribution: S_Bhandari as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedHi,
Added a patch for the same. Please review and let me know for any queries or observations.
Thanks.
Comment #5
Aaronwa CreditAttribution: Aaronwa commentedWorking as expected:
Comment #6
Dave ReidHrm, I wonder if we can actually remove the core_version_requirement from testing modules. I remember there being some change around that recently. From https://www.drupal.org/node/3070687:
Comment #7
munish.kumar CreditAttribution: munish.kumar as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedHi @Dave Reid,
#6 changes has been addressed, Please review the patch.
Comment #8
Dave ReidThe latest patch does not remove the core_version_requirement key entirely, which is what I was asking of in the previous comment.
Comment #9
Dave ReidOh, this is different from the issue title, this is about the submodule .info.yml files, not the test modules.
Comment #11
Dave ReidCommitted #7 to 8.x-1.x. Thanks! Make sure to keep that issue title and description updated when context changes in the future!