Problem/Motivation

The core key is still present in the info file.

Issue fork message-3318804

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

jhedstrom created an issue. See original summary.

jhedstrom’s picture

Status: Active » Needs review

  • jhedstrom committed 1ae6004 on 8.x-1.x
    Issue #3318804 by jhedstrom: Remove core key from example info file
    
jhedstrom’s picture

Status: Needs review » Fixed
matslats’s picture

Priority: Normal » Critical

Please make a release of this ASAP because its breaking composer!

Anonymous’s picture

Can I safely assume that after updating to 8.1.3 this issue is why attempting to run either drush updatedb or update.php throws the following error:


Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (^9 || ^10) requires the 'core' key not be set in modules/contrib/message/modules/message_example/message_example.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 88 of /public_html/core/lib/Drupal/Core/Extension/InfoParserDynamic.php ) #0 /public_html/core/lib/Drupal/Core/Extension/InfoParser.php(22): Drupal\Core\Extension\InfoParserDynamic->parse('modules/contrib...')
#1 /public_html/core/lib/Drupal/Core/Extension/ExtensionList.php(554): Drupal\Core\Extension\InfoParser->parse('modules/contrib...')
#2 /public_html/core/lib/Drupal/Core/Extension/ExtensionList.php(316): Drupal\Core\Extension\ExtensionList->createExtensionInfo(Object(Drupal\Core\Extension\Extension))
#3 /public_html/core/lib/Drupal/Core/Extension/ModuleExtensionList.php(155): Drupal\Core\Extension\ExtensionList->doList()
#4 /public_html/core/lib/Drupal/Core/Extension/ExtensionList.php(282): Drupal\Core\Extension\ModuleExtensionList->doList()
#5 /public_html/core/lib/Drupal/Core/Extension/ExtensionList.php(226): Drupal\Core\Extension\ExtensionList->getList()
#6 /public_html/core/includes/install.inc(85): Drupal\Core\Extension\ExtensionList->exists('allowed_formats')
#7 /public_html/core/modules/system/src/Controller/DbUpdateController.php(147): drupal_load_updates()
#8 [internal function]: Drupal\system\Controller\DbUpdateController->handle('info', Object(Symfony\Component\HttpFoundation\Request))
#9 /public_html/core/lib/Drupal/Core/Update/UpdateKernel.php(115): call_user_func_array(Array, Array)
#10 /public_html/core/lib/Drupal/Core/Update/UpdateKernel.php(76): Drupal\Core\Update\UpdateKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request))
#11 /public_html/update.php(27): Drupal\Core\Update\UpdateKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}

zenimagine’s picture

How do I downgrade to version 1.2 ?

Anonymous’s picture

You can use this to downgrade:

composer require 'drupal/message:1.2'
zenimagine’s picture

thank you

Status: Fixed » Closed (fixed)

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