Problem/Motivation

On page /admin/reports/status we got error:

Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (9.1.0) requires the 'core' key not be set in modules/contrib/readmehelp/tests/modules/readmehelp_test/readmehelp_test.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of core/lib/Drupal/Core/Extension/InfoParserDynamic.php).
Drupal\Core\Extension\InfoParser->parse('modules/contrib/readmehelp/tests/modules/readmehelp_test/readmehelp_test.info.yml') (Line: 554)
Drupal\Core\Extension\ExtensionList->createExtensionInfo(Object) (Line: 316)
Drupal\Core\Extension\ExtensionList->doList() (Line: 154)
Drupal\Core\Extension\ModuleExtensionList->doList() (Line: 282)
Drupal\Core\Extension\ExtensionList->getList() (Line: 226)
Drupal\Core\Extension\ExtensionList->exists('action') (Line: 84)
drupal_load_updates() (Line: 106)
Drupal\system\SystemManager->listRequirements() (Line: 49)
Drupal\system\Controller\SystemInfoController->status()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 706)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
CommentFileSizeAuthor
#2 core_version_requirement-3189089.patch462 bytesadubovskoy

Issue fork readmehelp-3189089

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

adubovskoy created an issue. See original summary.

adubovskoy’s picture

StatusFileSize
new462 bytes
drugan’s picture

What is interesting in the dev version it's already have the core_version_requirement: ^8 || ^9 constraint:

https://git.drupalcode.org/project/readmehelp/-/blob/8.x-1.x/readmehelp....

Anyway, I've figured it out, seems that core: 8.x key should be removed from the file because it assumes module compatibility with all D8 versions starting from the 8.0. Which is obviously impossible as the module is not compatible with anything lower than 8.7.7 version. Read more:

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

So, please can you rewrite the patch against the HEAD commit removing the core: 8.x line and changing the new constraint to the following:

core_version_requirement: ^8.8 || ^9

I think the 8.8 version would be quite enough for those who still did not upgraded to the 9.x version.

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

mkalkbrenner’s picture

Title: Drupal 9 core_version_requirement for readmehelp_test » Drupal 9 core_version_requirement for readmehelp and readmehelp_test

  • mkalkbrenner committed ff14db2 on 8.x-1.x
    Issue #3189089 by adubovskoy: Drupal 9 core_version_requirement for...
drugan’s picture

Status: Needs review » Fixed

Thanks, guys!

Status: Fixed » Closed (fixed)

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