Problem/Motivation
The js-cookie library is deprecated, and has been removed from core - https://www.drupal.org/node/3322720
There is now a contrib module that provides this library, drupal/js_cookie.
Steps to reproduce
Upgrade to Drupal core 10.2.x with this module enabled, see error:
User warning: The following theme is missing from the file system: js_cookie in Drupal\Core\Extension\ExtensionPathResolver->getPathname() (line 63 of core/lib/Drupal/Core/Extension/ExtensionPathResolver.php).
Proposed resolution
Replace dependency on core/js-cookie with js_cookie/js-cookie, and add drupal/js_cookie to composer.json as required package.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix-deprecated-call-to-core-js-cookie-3455830-2.patch | 907 bytes | smulvih2 |
Comments
Comment #2
smulvih2Patch to fix the issue attached.
Comment #4
joseph.olstadComment #7
smulvih2Funny, I see the commit message has my username in it as expected, but I'm not given credit.
Comment #8
joseph.olstadok, lets fix the crediting, checking your name in the checkboxes below.
Comment #9
joseph.olstadComment #10
joseph.olstadComment #11
joseph.olstadI looked at adding you as a maintainer but unfortunately I am missing the manage ownership permission for this project.