Support for Drupal 10

Created on 8 May 2023, over 1 year ago
Updated 17 August 2023, over 1 year ago

Problem/Motivation

Update the module to support Drupal 10.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India shree.yesare

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

Comments & Activities

  • Issue created by @shree.yesare
  • Assigned to samit.310@gmail.com
  • 🇮🇳India samit.310@gmail.com

    Please review Drupal 10 Support patch.

  • 🇮🇳India dineshkumarbollu

    Hi

    After applying the patch still these D10 compatible issues found.

    vendor/bin/drush upgrade_status:analyze colorpalette
    [notice] Processing /var/www/html/vbd9/web/modules/contrib/colorpalette-3358837.

    ================================================================================
    Color Palette, --
    Scanned on Tue, 05/09/2023 - 08:33

    FILE: web/modules/contrib/colorpalette-3358837/src/ColorPaletteUtility.php

    STATUS LINE MESSAGE
    --------------------------------------------------------------------------------
    Check manually 118 Relying on entity queries to check access by default is
    deprecated in drupal:9.2.0 and an error will be thrown from
    drupal:10.0.0. Call
    \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
    TRUE or FALSE to specify whether access should be checked.
    --------------------------------------------------------------------------------
    Check manually 202 Relying on entity queries to check access by default is
    deprecated in drupal:9.2.0 and an error will be thrown from
    drupal:10.0.0. Call
    \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
    TRUE or FALSE to specify whether access should be checked.
    --------------------------------------------------------------------------------

    FILE: web/modules/contrib/colorpalette-3358837/colorpalette.libraries.yml

    STATUS LINE MESSAGE
    --------------------------------------------------------------------------------
    Check manually 0 The 'palette' library is depending on a deprecated library.
    The core/jquery.once asset library is deprecated in Drupal
    9.3.0 and will be removed in Drupal 10.0.0. Use the
    core/once library instead. See
    https://www.drupal.org/node/3158256
    --------------------------------------------------------------------------------

  • Issue was unassigned.
  • Status changed to Needs work over 1 year ago
  • Assigned to nidhi27
  • @nidhi27 opened merge request.
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India nidhi27

    I have created #MR2 to support for Drupal 10.
    Kindly review it.

  • Assigned to agunjan085
  • 🇮🇳India agunjan085

    Verified the MR https://git.drupalcode.org/project/colorpalette/-/merge_requests/2
    I am able to install module in Drupal 10
    Able to add color & color filter tags taxonomy
    Created entity reference field in content type & able to select the added color there

  • Issue was unassigned.
  • Status changed to RTBC over 1 year ago
  • 🇮🇳India Akshay kashyap

    Thanks for the Work

    I have reviewed and tested Merge Request (MR) !2 which is in good shape. The MR has successfully made this module compatible in Drupal 10.
    RTBC ++

  • Status changed to Fixed over 1 year ago
  • 🇮🇳India abhaysaraf

    Thank you everyone for your support.
    Thank you Nidhi for the MR, I have tested it against D8, D9 and D10. Working fine. Merged.
    New release - https://www.drupal.org/project/colorpalette/releases/1.0.4

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

Production build 0.71.5 2024