Now on the COMMERCE side: No link template 'canonical' found for the 'commerce_order_item' entity type

Created on 17 January 2020, over 5 years ago
Updated 31 August 2023, over 1 year ago

It's sort of a re-occurrence of this issue [308747].

When trying to look at an order, I am getting this error:

Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'canonical' found for the 'commerce_order_item' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 227 of /srv/bindings/0d81663d55fe4cf986e2c50e93ec2ff8/code/core/lib/Drupal/Core/Entity/EntityBase.php).

In the prior issue, it was triggered by trying to fetch a webform submission. In this case, it comes when I click on the order number on the orders list. So I think the problem originates in Commerce.

Perhaps we should create something with a canonical link? Still not sure what to do here.

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Cayenne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024