Problem/Motivation

The module does not work with Drupal 9

Steps to reproduce

Attempt to install the module on a D9 site

Proposed resolution

Update the code to make this compatible. I have already tested it and the migration works perfectly; so I think it's just a case of updating the info.yml file to be D9 compatible

Remaining tasks

* Review patch
* We probably also need a composer.json file for those who want to install the module using composer?

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Patch to follow...

Comments

marc.groth created an issue. See original summary.

marc.groth’s picture

Please find attached patch that updates info.yml so that the module can be installed on D9.

marc.groth’s picture

Status: Active » Needs review
suresh prabhu parkala’s picture

StatusFileSize
new364 bytes
new332 bytes

We have to keep the 'core: 8.x' key to make sure the module is compatible with drupal <8.7

srishtiiee’s picture

StatusFileSize
new1.25 KB
new1.25 KB

Added migration tags and dependencies.

srishtiiee’s picture

StatusFileSize
new235.43 KB
new110.17 KB
new469.38 KB
new275.96 KB
new349.36 KB

Tested the migration manually, and it works fine.

wim leers’s picture

Status: Needs review » Reviewed & tested by the community
  1. --- a/migration_templates/d7_nodequeue.yml
    +++ b/migration_templates/d7_nodequeue.yml
    @@ -2,6 +2,7 @@ id: d7_nodequeue
     label: Node queue
     migration_tags:
       - Drupal 7
    +  - Configuration
    
    @@ -21,3 +22,6 @@ process:
       plugin: entity:entity_queue
    

    EnitityQueue is a config entity 👍

  2. +++ b/migration_templates/d7_nodequeue.yml
    @@ -21,3 +22,6 @@ process:
    +migration_dependencies:
    +  required:
    +    - d7_node_type
    

    Every node queue is configured to allow nodes of a certain type to be put in them, so the NodeType config entities already need to be migrated, and this dependency ensures that 👍

  3. +++ b/migration_templates/d7_nodesubqueue.yml
    @@ -2,6 +2,7 @@ id: d7_nodesubqueue
     label: Node subqueue
     migration_tags:
       - Drupal 7
    +  - Content
    

    Subqueues are content entities 👍

  4. +++ b/nodequeue_migrate.info.yml
    @@ -3,7 +3,6 @@ type: module
    -core: 8.x
     core_version_requirement: ^8.8 || ^9
    

    +1, otherwise the module is not installable in D9.

wim leers’s picture

Pinged the module maintainer @jofitz on Twitter: https://twitter.com/wimleers/status/1445289133350469632

Because until this is fixed, people won't be able to use this awesome module to migrate from nodequeue in D7 to entityqueue in D9!

  • c0af32d committed on 8.x-1.x
    Issue #3206490 by marc.groth, srishti.bankar: Make the module D9...
jofitz’s picture

Status: Reviewed & tested by the community » Fixed
wim leers’s picture

Thanks, @jofitz!

Status: Fixed » Closed (fixed)

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