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
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | diff_3224630_2-7.txt | 911 bytes | ankithashetty |
| #7 | 3224630-7.patch | 626 bytes | ankithashetty |
| #6 | 34954981-6.patch | 778 bytes | naveen433 |
Comments
Comment #2
berdirThe 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.
Comment #3
fabienm commentedI agree, in this new patch this is deleted.
Comment #4
berdirComment #5
berdirPatches need to be relative to the module folder. Don't forget to update the issue status when uploading a patch.
Comment #6
naveen433 commentedchange path to the relative path
Comment #7
ankithashettyHere is an updated patch, thanks!
Comment #9
berdirCommitted.