Problem/Motivation
Update the module to support Drupal 10.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | Screenshot from 2023-06-06 14-53-22.png | 44.64 KB | agunjan085 |
| #10 | Screenshot from 2023-06-06 14-53-28.png | 60.59 KB | agunjan085 |
| #10 | Screenshot from 2023-06-06 14-53-02.png | 54.99 KB | agunjan085 |
| #10 | Screenshot from 2023-06-06 14-52-50.png | 48.11 KB | agunjan085 |
| #3 | 3358837-3.patch | 408 bytes | samitk |
Issue fork colorpalette-3358837
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
Comment #2
samitk commentedComment #3
samitk commentedPlease review Drupal 10 Support patch.
Comment #4
dineshkumarbollu commentedHi
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
--------------------------------------------------------------------------------
Comment #5
samitk commentedComment #6
nidhi27Comment #8
nidhi27I have created #MR2 to support for Drupal 10.
Kindly review it.
Comment #9
agunjan085 commentedComment #10
agunjan085 commentedVerified 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
Comment #11
agunjan085 commentedComment #12
akshay kashyap commentedThanks 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 ++
Comment #13
abhaysaraf commentedThank 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