Automated Drupal 11 compatibility fixes for Collapsiblock

Created on 13 May 2024, about 1 month ago
Updated 28 May 2024, 29 days ago

Problem/Motivation

When running command ./vendor/bin/drush upgrade_status:analyze collapsiblock I can see one issue which needs to be fixed in order to make this module compatible with Drupal 11

Steps to reproduce

  • Setup drupal 10 project
  • Add upgrade_status & collapsiblock module in project codebase base using composer
  • Enable modules upgrade_status & collapsiblock using drush
  • Now, run drush command ./vendor/bin/drush upgrade_status:analyze collapsiblock
  • You will notice that one issue is being reported by analyze command
FILE: modules/contrib/collapsiblock/collapsiblock.libraries.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 0    The 'core' library is depending on a deprecated library. The
                    core/js-cookie asset library is deprecated in Drupal 10.1.0 
                    and will be removed in Drupal 11.0.0. There is no           
                    replacement. See https://www.drupal.org/node/3322720        
--------------------------------------------------------------------------------

Proposed resolution

Update library by replacing it with contributed module as suggested here: https://www.drupal.org/node/3322720 →

Remaining tasks

Provide patch/MR with the required changes.

API changes

Data model changes

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇮🇳India chandu7929 Pune

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024