Route "symfony_mailer_reroute.settings.yml" does not exist

Created on 31 January 2023, almost 2 years ago

Problem/Motivation

When visiting /admin/config/system/mailer with this module enabled I encountered this error:

The website encountered an unexpected error. Please try again later.

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "symfony_mailer_reroute.settings.yml" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of core/lib/Drupal/Core/Routing/RouteProvider.php).

Steps to reproduce

  1. Enable this module and the symfony_mailer dependency module
  2. Navigate to /admin/config/system/mailer

There may be other factors that cause this to happen. I'm pretty sure I used this module on another site without encountering this issue. But that's all that I did this time.

Proposed resolution

This is happening because a nonexistent symfony_mailer_reroute.settings.yml route is referenced in symfony_mailer_reroute.links.task.yml. It just needs to be changed to reference symfony_mailer_reroute.settings (without the .yml) instead. I'll attach a patch shortly.

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.2

Component

Code

Created by

🇨🇦Canada dylan donkersgoed London, Ontario

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

Comments & Activities

Production build 0.71.5 2024