Remove the "core" key from the audio_embed_media.info.yml file

Created on 4 September 2023, over 1 year ago
Updated 3 January 2024, 12 months ago

Problem/Motivation

Tried installing the module with Drupal 9.5.10 and error stack trace as below -
PHP Fatal error: Uncaught Drupal\Core\Extension\InfoParserException: The 'core_version_requirement' constraint (^8.8 || ^9 || ^10) requires the 'core' key not be set in modules/contrib/audio_embed_field/modules/audio_embed_media/audio_embed_media.info.yml in /app/docroot/core/lib/Drupal/Core/Extension/InfoParserDynamic.php:88
Stack trace:
#0 /app/docroot/core/lib/Drupal/Core/Extension/InfoParser.php(22): Drupal\Core\Extension\InfoParserDynamic->parse('modules/contrib...')
#1 /app/docroot/core/lib/Drupal/Core/Extension/ExtensionList.php(554): Drupal\Core\Extension\InfoParser->parse('modules/contrib...')
#2 /app/docroot/core/lib/Drupal/Core/Extension/ExtensionList.php(316): Drupal\Core\Extension\ExtensionList->createExtensionInfo(Object(Drupal\Core\Extension\Extension))
#3 /app/docroot/core/lib/Drupal/Core/Extension/ModuleExtensionList.php(155): Drupal\Core\Extension\ExtensionList->doList()
#4 /app/docroot/core/lib/Drupal/Core/Extension/ExtensionList.php(282): Drupal\Core\Extension\ModuleExtensionList->doList()
#5 /app/docroot/core/lib/Drupal/Core/Extension/ExtensionList.php(260): Drupal\Core\Extension\ExtensionList->getList()
#6 /app/docroot/modules/contrib/acquia_purge/src/Plugin/Purge/DiagnosticCheck/AcquiaCloudCheck.php(77): Drupal\Core\Extension\ExtensionList->get('acquia_purge')
#7 /app/docroot/modules/contrib/purge/src/Plugin/Purge/DiagnosticCheck/DiagnosticCheckBase.php(73): Drupal\acquia_purge\Plugin\Purge\DiagnosticCheck\AcquiaCloudCheck->run()
#8 /app/docroot/modules/contrib/purge/src/Plugin/Purge/DiagnosticCheck/DiagnosticCheckBase.php(110): Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticCheckBase->runCheck()
#9 /app/docroot/modules/contrib/purge/src/Plugin/Purge/DiagnosticCheck/DiagnosticsService.php(218): Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticCheckBase->getSeverity()
#10 /app/docroot/modules/contrib/purge/src/Plugin/Purge/Purger/PurgersService.php(168): Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticsService->isSystemOnFire()
#11 /app/docroot/modules/contrib/purge/src/Plugin/Purge/Purger/PurgersService.php(417): Drupal\purge\Plugin\Purge\Purger\PurgersService->checksBeforeTakeoff(Array)
#12 /app/docroot/modules/contrib/purge/modules/purge_processor_lateruntime/src/EventSubscriber/LateRuntimeProcessor.php(89): Drupal\purge\Plugin\Purge\Purger\PurgersService->invalidate(Object(Drupal\purge_processor_lateruntime\Plugin\Purge\Processor\LateRuntimeProcessor), Array)
#13 [internal function]: Drupal\purge_processor_lateruntime\EventSubscriber\LateRuntimeProcessor->onKernelTerminate(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#14 /app/docroot/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#15 /app/vendor/symfony/http-kernel/HttpKernel.php(103): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), 'kernel.terminat...')
#16 /app/vendor/stack/builder/src/Stack/StackedHttpKernel.php(32): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response))
#17 /app/docroot/core/lib/Drupal/Core/DrupalKernel.php(702): Stack\StackedHttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response))
#18 /app/vendor/drush/drush/src/Boot/DrupalBoot8.php(298): Drupal\Core\DrupalKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response))
#19 [internal function]: Drush\Boot\DrupalBoot8->terminate()
#20 {main}
thrown in /app/docroot/core/lib/Drupal/Core/Extension/InfoParserDynamic.php on line 88

Steps to reproduce

Error can be visualised when trying to install the module after downloading it

Proposed resolution

Remove the "core" attribute from audio_embed_media.info.yml inside modules/audio_embed_media/audio_embed_media.info.yml

Remaining tasks

-N.A-

User interface changes

-N.A-

API changes

-N.A-

Data model changes

-N.A-

๐Ÿ› Bug report
Status

Needs review

Version

10.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Anirban Das

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024