Trash module issue on vanilla installation

Created on 12 February 2025, 2 months ago

Problem/Motivation

The trash module configuration issue prevents a vanilla Drupal CMS installation from working on any page that renders action links for nodes.

Steps to reproduce

1. Install vanilla Drupal CMS according to instructions
2. Open /admin/content/trash and you'll see not found page
3. Open /admin/content and you'll see the error.
Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'restore' found for the 'node' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 211 of core/lib/Drupal/Core/Entity/EntityBase.php).

Proposed resolution

Import the trash configuration. Manually toggling “Trash Settings” for “Content” resolves the issue. Uninstalling and reinstalling the trash module also helps, indicating an issue with the config files.

A long-term fix may need to be applied in the trash module. Appreciate any advice.

🐛 Bug report
Status

Active

Component

General

Created by

🇺🇸United States sanchiz

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