Problem/Motivation

Update the module to support Drupal 10.

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:

Comments

shree.yesare created an issue. See original summary.

samitk’s picture

Assigned: shree.yesare » samitk
samitk’s picture

StatusFileSize
new408 bytes

Please review Drupal 10 Support patch.

dineshkumarbollu’s picture

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
--------------------------------------------------------------------------------

samitk’s picture

Assigned: samitk » Unassigned
Status: Active » Needs work
nidhi27’s picture

Assigned: Unassigned » nidhi27

nidhi27’s picture

Assigned: nidhi27 » Unassigned
Status: Needs work » Needs review

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

agunjan085’s picture

Assigned: Unassigned » agunjan085
agunjan085’s picture

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

agunjan085’s picture

Assigned: agunjan085 » Unassigned
Status: Needs review » Reviewed & tested by the community
akshay kashyap’s picture

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 ++

abhaysaraf’s picture

Status: Reviewed & tested by the community » Fixed

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

Status: Fixed » Closed (fixed)

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