Theme selection form in installer is broken

Created on 28 June 2024, 5 months ago
Updated 16 July 2024, 4 months ago

Problem/Motivation

The theme selection form in the installer is broken since the update for Drupal core 10.3. The theme handler service was replaced by a theme extension list service, but not all the code in the form was updated. The code is still getting the theme handler from the service container.

See commit https://git.drupalcode.org/project/panopoly/-/commit/c51a5bbb0bd33b6669e....

Steps to reproduce

Create a new Panopoly site using the composer template.
Try to install via drush or the UI.
Note the error:
TypeError: Drupal\panopoly_theme\Form\PanopolyThemeSelectionForm::__construct(): Argument #1 ($theme_list) must be of type Drupal\Core\Extension\ThemeExtensionList, Drupal\Core\Extension\ThemeHandler given, called in /web/profiles/contrib/panopoly/modules/panopoly/panopoly_theme/src/Form/PanopolyThemeSelectionForm.php on line 86 in Drupal\panopoly_theme\Form\PanopolyThemeSelectionForm->__construct() (line 69 of /web/profiles/contrib/panopoly/modules/panopoly/panopoly_theme/src/Form/PanopolyThemeSelectionForm.php)

Proposed resolution

Fix the create() function.

Remaining tasks

Patch and test.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Install

Created by

πŸ‡ΊπŸ‡ΈUnited States cboyden

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024