js_cookie module not enabled when updating from CAS 2.x to 3.x

Created on 6 June 2025, 27 days ago

Problem/Motivation

When updating from CAS 2.x to 3.x, the new js_cookie dependency is not installed. If installing CAS 3.x from the start, js_cookie is installed as expected. I noticed when installing a new site from an install profile that it was failing because js_cookie was not in core.extension.yml.

Steps to reproduce

1. Install a new Drupal 10 site
2. composer require 'drupal/cas:^2.3'
3. drush en cas -y
4. composer require 'drupal/cas:^3.0@beta'
5. drush updb -y
6. Verify that js_cookie is not enabled

Proposed resolution

Install js_cookie when updating from CAS 2.x to 3.x

πŸ› Bug report
Status

Active

Version

3.0

Component

CAS

Created by

πŸ‡ΊπŸ‡ΈUnited States vinmassaro

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

Comments & Activities

Production build 0.71.5 2024