Getting this error on installation:

In RouteProvider.php line 201:

Route "easy_breadcrumb.general_settings_form" does not exist.

Drush Launcher Version: 0.6.0
Drush Commandline Tool 9.7.1
Drupal Version 8.7.8
Composer Version: 1.8.0

CommentFileSizeAuthor
#4 3087900_missing_route_warning.patch1004 bytespascalrioux

Comments

dshumaker created an issue. See original summary.

pascalrioux’s picture

We do have the same issue on our project with a similar Drupal version (8.7.10). It is most likely caused by the reference to the route "easy_breadcrumb.general_settings_form" in the hook_install().

I would advise to remove it because it is only used to display a status message that tells the admin where to configure the module. Most module stick to putting the route in the "configure" property of the ".info.yml" file.

pascalrioux’s picture

I'll try to make a quick patch to solve the issue.

pascalrioux’s picture

StatusFileSize
new1004 bytes

Here you go

renatog’s picture

Status: Active » Reviewed & tested by the community

Avoid duplication is a good approach to keep clean

Thanks

  • RenatoG committed 0eeeef2 on 8.x-1.x authored by pascalrioux
    Issue #3087900 by pascalrioux, dshumaker, RenatoG: In RouteProvider.php...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Committed to the dev branch.

Best,

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.