Drupal 11 compatibility

Created on 16 December 2024, 6 months ago

This is issue to make audiofield module Drupal 11 compatible

📌 Task
Status

Active

Version

1.0

Component

Code

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

Merge Requests

Comments & Activities

  • Issue created by @dileepkumargembali
  • Merge request !3Drupal 11 compatibility → (Open) created by Unnamed author
  • 🇮🇳India abhi_khandelwal Gandhinagar

    The #MR3 works for both Drupal 10 and Drupal 11. Attaching the upgrade status screenshot for reference. Moving the issue to RTBC.

  • 🇺🇸United States tjtj

    So please release the D11 version. I do not understand why it takes so long. Or at least release a patch.

  • Status changed to RTBC 4 months ago
  • 🇩🇪Germany shortspoken Leipzig

    Yes! Would be awesome to be able to use it with Drupal CMS!

  • 🇹🇷Turkey makbay

    I'm afraid we need to create a dedicated release for D11.

    LibraryDiscovery class is deprecated with D11.1

    https://www.drupal.org/node/3462970 →

  • 🇹🇷Turkey makbay
  • 🇹🇷Turkey makbay

    I have created another branch, that should not be merged to 8.x-1.x: https://git.drupalcode.org/issue/audiofield-3494200/-/tree/3494200-Needs...

  • 🇹🇷Turkey makbay

    makbay → changed the visibility of the branch 3494200-Needs-Dedicated-D11-release to active.

  • need to migrate a non profit website doing podcasts using audio_field, should I wait or use drupal 10 instead of 11?

  • Status changed to Needs work 25 days ago
  • 🇺🇸United States smethawee

    smethawee → changed the visibility of the branch 3494200-drupal-11-compatibility to hidden.

  • 🇺🇸United States smethawee

    Hello Team,

    We still waiting for compatibility for Drupal 11.x Any update or how to fix this issue?
    Here on my Drupal 11 issue:
    The website encountered an unexpected error. Try again later.

    TypeError: Drupal\audiofield\AudioFieldPluginBase::__construct(): Argument #4 ($library_discovery) must be of type Drupal\Core\Asset\LibraryDiscovery, Drupal\Core\Asset\LibraryDiscoveryCollector given, called in /var/www/html/docroot/modules/contrib/audiofield/src/AudioFieldPluginBase.php on line 82 in Drupal\audiofield\AudioFieldPluginBase->__construct() (line 68 of modules/contrib/audiofield/src/AudioFieldPluginBase.php).
    Drupal\audiofield\AudioFieldPluginBase::create() (Line: 21)
    Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 83)
    Drupal\Component\Plugin\PluginManagerBase->createInstance() (Line: 652)
    Drupal\audiofield\Plugin\Field\FieldFormatter\AudioFieldFieldFormatter->viewElements() (Line: 91)
    Drupal\Core\Field\FormatterBase->view() (Line: 275)
    Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple() (Line: 340)
    Drupal\Core\Entity\EntityViewBuilder->buildComponents() (Line: 24)
    Drupal\node\NodeViewBuilder->buildComponents() (Line: 282)
    Drupal\Core\Entity\EntityViewBuilder->buildMultiple() (Line: 239)
    Drupal\Core\Entity\EntityViewBuilder->build()
    call_user_func_array() (Line: 107)
    Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 830)
    Drupal\Core\Render\Renderer->doCallback() (Line: 387)
    Drupal\Core\Render\Renderer->doRender() (Line: 203)
    Drupal\Core\Render\Renderer->render() (Line: 238)
    Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 593)
    Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 231)
    Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 128)
    Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
    Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() (Line: 246)
    Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206)
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56)
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 188)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
    Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
    Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
    Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
    Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)
    Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
    Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
    Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)
    Drupal\Core\DrupalKernel->handle() (Line: 19)

Production build 0.71.5 2024