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.

Comments

smulvih2 created an issue. See original summary.

smulvih2’s picture

Status: Active » Needs review
StatusFileSize
new907 bytes

Patch to fix the issue attached.

joseph.olstad’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

smulvih2’s picture

Funny, I see the commit message has my username in it as expected, but I'm not given credit.

joseph.olstad’s picture

Status: Closed (fixed) » Needs work

ok, lets fix the crediting, checking your name in the checkboxes below.

joseph.olstad’s picture

Status: Needs work » Needs review
joseph.olstad’s picture

Status: Needs review » Fixed
joseph.olstad’s picture

I looked at adding you as a maintainer but unfortunately I am missing the manage ownership permission for this project.

Status: Fixed » Closed (fixed)

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