• [x] Update code with current coding standards.
  • [x] Remove all deprecated functions.
  • [ ] Complete beta release for community testing.
  • [x] Update info.yml file with Drupal 9 core_version_requirement: ^8 || ^9
  • [x] Add dependency to jQuery UI Accordion and jQuery UI Tabs modules.

A D9 version will eventually result in moving the jQuery UI renderers to new module. This may just be included as a separate sub-module of this project or as a separate project.

Most jQuery UI asset libraries are deprecated and moved to contrib modules

Issue fork quicktabs-3138446

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shelane created an issue. See original summary.

shelane’s picture

Issue summary: View changes
shelane’s picture

Issue summary: View changes
shelane’s picture

Issue summary: View changes
ravimane23’s picture

Issue summary: View changes
Related issues: +#3154733: Drupal 9 Readiness
lawxen’s picture

Status: Active » Needs review
FileSize
1.58 KB

Change:
1. Add composer.json to

    "require": {
        "drupal/core": "^8.8 || ^9",
        "drupal/jquery_ui_accordion": "^1.1",
        "drupal/jquery_ui_tabs": "^1.1"
    },

2. Update info.yml
3. Update libraries.yml

wrd’s picture

Getting the following error when trying to display a basic page containing a Quick Tabs block:

Error: Call to undefined method Drupal\\Core\\Entity\\EntityTypeManager::loadEntityByUuid() in /Users/foo/Sites/devdesktop/9.0/httpdocs/modules/contrib/quicktabs/src/Plugin/TabType/BlockContent.php on line 68

guptahemant’s picture

Assigned: shelane » guptahemant
guptahemant’s picture

Issue tags: +DIACWAug2020
guptahemant’s picture

Status: Needs review » Needs work

I am able to reproduce the issue mentioned by @wrd in #7, hence marking the issue to needs work.

guptahemant’s picture

Assigned: guptahemant » Unassigned
Status: Needs work » Needs review
FileSize
2.7 KB
1.12 KB

Here is an updated patch addressing issues from #7

Please review

siddhant.bhosale’s picture

Assigned: Unassigned » siddhant.bhosale
wrd’s picture

#11 is working for me; my tab blocks now display as expected.

siddhant.bhosale’s picture

Assigned: siddhant.bhosale » Unassigned
Status: Needs review » Reviewed & tested by the community

The patch applies cleanly. Looks good to be merged.

 git apply -v --index ../Updates_for_d9_readiness-3138446-11.patch
Checking patch composer.json...
Checking patch quicktabs.info.yml...
Checking patch quicktabs.libraries.yml...
Checking patch src/Plugin/TabType/BlockContent.php...
Applied patch composer.json cleanly.
Applied patch quicktabs.info.yml cleanly.
Applied patch quicktabs.libraries.yml cleanly.
Applied patch src/Plugin/TabType/BlockContent.php cleanly.
wrd’s picture

Status: Reviewed & tested by the community » Needs work

Looks like something's changed in 8.x-3.x-dev, because the patch no longer applies.

ravimane23’s picture

Hello @wrd,

In 8.x-3.x-dev the re are changes in BlockContent.php which gets conflicts while applying patch #11.

I have update the patch which is working for me.

ravimane23’s picture

Status: Needs work » Needs review
ankithashetty’s picture

Status: Needs review » Needs work

Hi @ravimane23, I think the line "license": "GPL-2.0+", in composer.json needs to be updated to "license": "GPL-2.0-or-later",.

After applying the updated patch try running composer validate,

$ composer validate
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead
 

Changing status back to "Needs work"... Thanks!

ankithashetty’s picture

Status: Needs work » Needs review
FileSize
1.56 KB
940 bytes

Updated the patch, kindly review...

Thank you!

wrd’s picture

#19 is working for me! Thanks!

meet_bhanvadia’s picture

Status: Needs review » Reviewed & tested by the community

#19 is working for me! Tested on version 8.9.6 and 9.0.3. No deprecation error and module is compatible with D9. It would be great if patch is committed to dev branch. Thanks!!

  • shelane committed bcec5c1 on 8.x-3.x authored by lawxen
    Issue #3138446 by guptahemant, ravimane23, ankithashetty, lawxen,...
shelane’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Active

There were several requests for the D9 capability, so I've committed the changes necessary for that. There are still outstanding issues that are blocking me from a beta tag. If you're comfortable with the dev version for D9, have at it. If there are enough requests for an actual release for D9, it will be tagged with another alpha.

douggreen made their first commit to this issue’s fork.

devil2005’s picture

Follow because i need a D9 version of this module :)

shelane’s picture

@devil2005 The 3.0-alpha5 release is already Drupal 9 compatible. This ticket was never closed due to outstanding issues to make it a beta.

NickDickinsonWilde’s picture

Status: Active » Fixed

3.0-alpha7 is now D9 and D10 compatible. I think this can be closed and deal with remaining issues in the issue specific issues tickets.

Status: Fixed » Closed (fixed)

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