Just tried to create a new REST Export view for Licensing entities, Drupal is throwing the following error:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.license_type.canonical" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 187 of /var/www/html/core/lib/Drupal/Core/Routing/RouteProvider.php).

Currently trying to figure out how to fix this.. seems like it has occurred in other contrib modules (i.e. see https://www.drupal.org/node/2826470#comment-11801958 )

CommentFileSizeAuthor
#4 license_routing-error-2832891-4-D8.patch568 bytesjeremdow
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lionguard created an issue. See original summary.

lionguard’s picture

Issue summary: View changes
lionguard’s picture

FYI deleting line 42 of LicenseType.php seems to surpress the error message for me

(  "canonical" = "/admin/structure/license_type/{license_type}",
)
jeremdow’s picture

Status: Active » Needs review
FileSize
568 bytes

Here's a patch to remove the above line, thanks.

  • grasmash committed 9f6367d5 on 8.x-1.x authored by jeremdow
    Issue #2832891 by jeremdow: Licensing entity type throws routing error...
grasmash’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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