Problem/Motivation

Pathauto's menu and pages still references path.admin_overview, which was changed to entity.path_alias.collection with Drupal 8.8. This causes the pages to crash and throw the error:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "path.admin_overview" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 208 of /my/docroot/core/lib/Drupal/Core/Routing/RouteProvider.php).

Proposed resolution

Change path.admin_overview to entity.path_alias.collection

Comments

FabienM created an issue. See original summary.

berdir’s picture

Status: Needs review » Needs work

The code you change is in a conditional specifically for pre Drupal 8.8, this should _not_ be called on a more recent version. It is/was a backwards compatibility layer.

Since we require 8.8 now, we could just remove it.

fabienm’s picture

StatusFileSize
new924 bytes

I agree, in this new patch this is deleted.

berdir’s picture

Status: Needs work » Needs review
berdir’s picture

Status: Needs review » Needs work
Issue tags: -pathauto

Patches need to be relative to the module folder. Don't forget to update the issue status when uploading a patch.

naveen433’s picture

Status: Needs work » Needs review
StatusFileSize
new778 bytes

change path to the relative path

ankithashetty’s picture

StatusFileSize
new626 bytes
new911 bytes

Here is an updated patch, thanks!

berdir’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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