Drupal 10 Compatibility: Upgrade Status dependencies on classy and seven

Created on 11 March 2023, almost 2 years ago
Updated 27 June 2024, 6 months ago

Problem/Motivation

The W3CSS theme includes attachments to classy and seven libraries. The seven module is deactivated, as we've moved to claro as the admin theme. This is what the upgrade_status module (4.0.0@alpha1) reports on our site, running core 9.5.3:

  • web/themes/contrib/d8w3css/templates/misc/progress-bar.html.twig (line 14) : The 'classy/progress' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
  • web/themes/contrib/d8w3css/templates/navigation/book-navigation.html.twig (line 31) : The 'classy/book-navigation' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
  • web/themes/contrib/d8w3css/templates/content/search-result.html.twig (line 59) : The 'classy/search-results' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
  • web/themes/contrib/d8w3css/templates/content/comment.html.twig (line 68) : The 'classy/indented' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
  • web/themes/contrib/d8w3css/drupal8_w3css_theme.theme (line 436) : The 'seven/node-form' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.
  • web/themes/contrib/d8w3css/css/components/node-edit.css (line 0) : The #drupal-off-canvas selector is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3305664 β†’ .

The solution proposed to migrate from classy includes replacing the base theme with stable, but W3CSS has no base theme (in the .info file it states "base theme: false". An alternative seems to involve installing classy as a contributed theme, but W3CSS should not really depend on it or on seven.

Can these references be replaced somehow to ensure compatibility when upgrading to D10?

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024