Trash module does not work after initial install of Drupal CMS

Created on 28 February 2025, 11 days ago

Problem/Motivation

Doesn't work on initial install.

Steps to reproduce

1. Install Drupal CMS (the issue probably also happens when installing Trash on an existing site, but this is where I found the problem)
2. Log in.
3. In the Navigation panel click on "Trash". You get a 404 error.
4. Try to delete a node. It is permanently removed.

To resolve visit /admin/config/content/trash and enable for Content.

Proposed resolution

On install, Trash should be enabled for these entity types if they exist:
* Node
* Media
* File???

Remaining tasks

1. Agree on path forward
2. Fix
3. Write a test???

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇲🇽Mexico dalin 🇨🇦, 🇲🇽, 🌍

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

Comments & Activities

Production build 0.71.5 2024