Classy theme is referenced in threaded comments

Created on 27 March 2023, over 1 year ago
Updated 31 March 2023, over 1 year ago

Problem/Motivation

Classy cannot be extended in Drupal 10

Steps to reproduce

Activate and write comment on node.

Event log shows the following when page is displayed.

User warning: The following theme is missing from the file system: classy in Drupal\Core\Extension\ExtensionPathResolver->getPathname() (line 63 of /var/www/sitenamehere/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php)
#0 /var/www/sitenamehere/web/core/includes/bootstrap.inc(158): _drupal_error_handler_real()
#1 [internal function]: _drupal_error_handler()
#2 /var/www/sitenamehere/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php(63): trigger_error()
#3 /var/www/sitenamehere/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php(85): Drupal\Core\Extension\ExtensionPathResolver->getPathname()

Proposed resolution

Looks like the error is in comment.html.twig on line 68:
{% if threaded %}
{{ attach_library('classy/drupal.comment.threaded') }}
{% endif %}

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

5.5

Component

Code

Created by

πŸ‡ΈπŸ‡ͺSweden pontus.froden

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

Comments & Activities

Production build 0.69.0 2024