Route entity.search_api_canonical does not exist

Created on 21 June 2024, 5 months ago
Updated 26 August 2024, 3 months ago

Problem/Motivation

In Drupal 10.2.7, creating/editing a new Search API page errors out, with the following error in drush ws

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.search_api_page.canonical" does not exist

Steps to reproduce

  1. Install latest stable/dev version of Search API Pages on Drupal 10.2.7
  2. Attempt to create/edit Search API page

Result: white error screen appears. In case a new page is being created, it will not be assigned a path.

Proposed resolution

Deleting line 32 src/Entity/SearchApiPage.php, that defined the canonical link completely fixes the issue.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024