Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 )
Comment | File | Size | Author |
---|---|---|---|
#4 | license_routing-error-2832891-4-D8.patch | 568 bytes | jeremdow |
Comments
Comment #2
lionguard CreditAttribution: lionguard commentedComment #3
lionguard CreditAttribution: lionguard commentedFYI deleting line 42 of LicenseType.php seems to surpress the error message for me
Comment #4
jeremdow CreditAttribution: jeremdow at Cheng & Tsui Company commentedHere's a patch to remove the above line, thanks.
Comment #6
grasmash CreditAttribution: grasmash commented