Will we have a Drupal 10 version of this module?

Created on 9 August 2023, over 1 year ago
Updated 11 January 2024, 11 months ago

I am in the middle of a D9 to D10 upgrade and this is the only module on my list that is not compatible with D10. Do we know if there will be a D10 version of this module or has this module been abandoned?

💬 Support request
Status

Closed: duplicate

Version

1.2

Component

Code

Created by

🇺🇸United States socalerich

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

Merge Requests

Comments & Activities

  • Issue created by @socalerich
  • 🇮🇳India Shreya_98

    We will get Drupal 10 version for this module by updating core_version_requirement in yml file.

  • First commit to issue fork.
  • Merge request !6Issue#3380298: Drupal 10 Compatibility. → (Closed) created by sakthi_dev
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India sakthi_dev

    Please review.

  • 🇺🇸United States socalerich

    Thanks for addressing this! I was successfully able to patch the dev version of the module and it did add the D10 version to info.yml, but I won't be able to use this until it gets merged into an update.

  • 🇺🇸United States socalerich

    I was able to use the Drupal Lenient plugin to allow downloading the dev version of the plugin with Composer. I then used your patch to patch the .yml file to allow for Drupal 10. I was successfully able to instll the module, but now when I go to actually use it on a field of one of my content types, I get this error:

    Error: Call to undefined function render() in template_preprocess_hierarchical_term_formatter() (line 26 of modules/contrib/hierarchical_term_formatter/hierarchical_term_formatter.theme.inc).
    call_user_func_array('template_preprocess_hierarchical_term_formatter', Array) (Line: 285)
    Drupal\Core\Theme\ThemeManager->render('hierarchical_term_formatter', Array) (Line: 433)
    Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
    Drupal\Core\Render\Renderer->render(Array) (Line: 477)
    Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 79)
    __TwigTemplate_39dbe5e99910153f6ec373ccd2955309->doDisplay(Array, Array) (Line: 394)
    Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
    Twig\Template->display(Array) (Line: 379)
    Twig\Template->render(Array, Array) (Line: 40)
    Twig\TemplateWrapper->render(Array) (Line: 53)
    twig_render_template('themes/custom/hercules/templates/field--node--resource-library.html.twig', Array) (Line: 372)
    Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 433)
    Drupal\Core\Render\Renderer->doRender(Array) (Line: 446)
    Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
    Drupal\Core\Render\Renderer->render(Array) (Line: 477)
    Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 111)
    __TwigTemplate_986735d7250b7b5a2293d9419a4d746f->doDisplay(Array, Array) (Line: 394)
    Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
    Twig\Template->display(Array) (Line: 379)
    Twig\Template->render(Array, Array) (Line: 40)
    Twig\TemplateWrapper->render(Array) (Line: 53)
    twig_render_template('themes/contrib/bootstrap/templates/node/node.html.twig', Array) (Line: 372)
    Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 433)
    Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
    Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
    Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
    Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239)
    Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
    Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
    Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
    call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
    Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 168)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 74)
    Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
    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: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 692)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
    
  • 🇺🇸United States socalerich

    So I used the patch from this issue and everything seems to work now.

    https://www.drupal.org/project/hierarchical_term_formatter/issues/3287889 📌 Automated Drupal 10 compatibility fixes Fixed

  • Status changed to Closed: duplicate over 1 year ago
  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
Production build 0.71.5 2024