No content in trash bin

Created on 26 February 2025, 13 days ago

Problem/Motivation

Drupal 11. php 8.3.

I can install the module, no errors. I can select the content for trash, when I delete content, I see the message that it'll be moved to the Trash. But there is nothing in the trash bin. Reinstallation doesn't help.

I'm only one with this issue?

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada superfedya

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

Comments & Activities

  • Issue created by @superfedya
  • 🇷🇴Romania amateescu

    Is the problem happening on a fresh Drupal install or an existing site with other modules installed?

  • 🇨🇦Canada superfedya

    Existing site with other modules.

  • 🇷🇴Romania amateescu

    In that case, some debugging is needed. First, I would look at \Drupal\trash\TrashStorageTrait::delete() and check if it's immediately going to the parent delete method, which means the trash context is not active. If that's the case, the next step is to put a breakpoint in TrashManager::setTrashContext() and see who's changing the trash context.

Production build 0.71.5 2024