Problem/Motivation
In combination with Drupal 11.3.10 a critical error occurs when visiting /admin/commerce/config/bundle-types.
Steps to reproduce
Visit: /admin/commerce/config/bundle-types and you get a critical Error: Route "entity.commerce_bundle_item_type.canonical" does not exist
The cause appears to be: Drupal tries to fetch canonical URLs, when there's a canonical link template in a types annotation / definition .
Proposed resolution
Remove the canonical Link template from BundleItemType annotation. Drupal would not try to create canonical routes anymore and the error is gone.
As an alternative, one would serve the missing route (entity.commerce_bundle_item_type.canonical) but because that's not obligatory for Entity-types i propose the path of simplification and removal of the link template.
Issue fork commerce_variation_bundle-3593889
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
valictnx, merged