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)
Comments
Comment #2
adubovskoy commentedComment #3
drugan commentedWhat is interesting in the dev version it's already have the
core_version_requirement: ^8 || ^9constraint:https://git.drupalcode.org/project/readmehelp/-/blob/8.x-1.x/readmehelp....
Anyway, I've figured it out, seems that
core: 8.xkey 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.xline and changing the new constraint to the following:core_version_requirement: ^8.8 || ^9I think the 8.8 version would be quite enough for those who still did not upgraded to the 9.x version.
Comment #5
mkalkbrennerComment #8
drugan commentedThanks, guys!