Problem/Motivation

Trying to access /admin/structure/homebox_type in Drupal 11 does not work anymore. I think we need to add a canonical route definition to the entity type metadata?

Might have had an implicit fallback in older Drupal versions maybe?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork homebox-3567297

Command icon 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

anybody created an issue. See original summary.

anybody’s picture

Looking at the code at https://git.drupalcode.org/issue/homebox-3567297/-/blob/3567297-routenot... it seems "collection", not canonical should handle that path?

Any ideas? The route must have worked before, because it's the admin menu item Structure > Homebox Types

anybody’s picture

Status: Active » Needs review

Ok, removing this in "links" works - like other modules did. Now the page is working again... strange!

Is that fine?

grevil’s picture

Assigned: grevil » Unassigned
Status: Needs review » Reviewed & tested by the community

The error appears, because the "AdminHtmlRouteProvider" doesn't generate a canonical route and I don't think we don't need one, since this is an entity type, not an entity, so we don't need a "normal" view page only add, edit, delete.

So LGTM!

grevil’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • grevil committed dc0573f5 on 3.0.x authored by anybody
    fix: #3567297 RouteNotFoundException: Route "entity.homebox_type....

Status: Fixed » Closed (fixed)

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