Not working on Drupal 10

Created on 21 April 2023, about 1 year ago
Updated 9 January 2024, 6 months ago

Problem/Motivation

Not working on Drupal 10

Steps to reproduce

1. Create 1 View with 2 Blocks with Ajax enabled.
2. Create QuickTabs with 2 tab, each of which would have 1 of above blocks.
3. Place QuickTabs created above on Block Region.
4. Load tab using TwigTweak
5. Fist tab is loaded okay, but another tab never got loaded.
if Ajax enabled, 2nd tab never loaded, if not ajax enabled, page got redirected to somewhat strange URL.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇦Canada Austin986

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

  • Issue created by @Austin986
  • Assigned to viren18febS
  • 🇮🇳India viren18febS

    Checking the issue!

  • Issue was unassigned.
  • Status changed to Needs review 10 months ago
  • 🇮🇳India viren18febS

    Hi Austin986,

    I have checked the issue in Drupal 10.1 & followed the steps for reproduce. I have placed the Quick tab block with TwigTweak. but it's working for me as per expected. I have attached the images for reference, please review.

  • 🇵🇰Pakistan Masood.Ahmad

    Same for me, it is not working. The second tab is not showing up there. My Drupal version is 10.1.4.

  • 🇺🇸United States nmangold United States

    I could not reproduce this issue either.

  • 🇺🇸United States nmangold United States
  • Same. To reproduce you have to have ajax enabled, which makes me think this is a duplicate of 2926105.

    If views use ajax then this module doesn't work.

    The path redirect is quicktabs/nojs/[view_name]/1, quicktabs/nojs/[view_name]/2, etc.

  • 🇪🇸Spain jonodunnett

    Problems for me after update to D10 when one of my tabs contains a Webform.

    - If Quicktab setting is to use Ajax, then the tabs show up but the content does not load properly when clicked ("Loading content..." message forever.)
    - If Quicktab setting is to NOT use Ajax, then none of the tabs show up (not even the tab names).

    Functionality returns if I delete the Webform tab. Worked fine with the Webform tab included before this D10 update.

  • 🇷🇺Russia fgvlasov

    Also not showing new Blocks created from Quicktabs.
    Only first Tabs (core)

  • Status changed to Needs work 7 months ago
  • 🇷🇺Russia zniki.ru

    It would be great to have tests to reproduce this issue.

  • 🇧🇷Brazil bsfajardo Porto Alegre, Brazil

    I was facing the same issue. In my case, the problem seemed to be with #theme_wrappers not being rendered correctly. I replaced two of these wrappers with #prefix and #suffix in the render array, and the issue was fixed. Not sure yet what caused the original wrappers to stop working, or what is missing for them to work properly in Drupal 10.

    Patch attached.

  • Status changed to Fixed 6 months ago
  • 🇵🇰Pakistan Masood.Ahmad

    The was resolved while debugging the twig code, the wrapper div was open but not closed somewhere. If anyone face problem like this, please do check the opening and closing divs.

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

Production build 0.69.0 2024