Installation fails due to route not found

Created on 17 March 2025, 19 days ago

Problem/Motivation

After #3500148 was commited I'm having the following error when I try to install the module:

Route 'editoria.settings' does not exist

It is caused because we try to get the route for 'editoria11y.settings' during the installation of the module and it is not registered and therefore fails.

$config_url = Url::fromRoute('editoria11y.settings');

Steps to reproduce

  1. Install the module via drush
  2. An error is displayed with the message: Route 'editoria.settings' does not exist

Proposed resolution

I suggest to move the message to hook_help and control when it is visible via States API.

πŸ› Bug report
Status

Active

Version

2.2

Component

Bugs

Created by

πŸ‡ͺπŸ‡ΈSpain jlbellido

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