Skip to content

29 · Every site template installation logs "'node' is enabled in trash.settings but its storage does not support Trash"

Project Trash (the message); triggered by Drupal CMS' site template base recipe
Component Code
Category Bug report
Priority Minor
Status Not reproducible with Trash 3.1.0 on Drupal CMS 2.2 (checked 2026-09-29) – do not file

Checked on 2026-09-29

A fresh installation of Drupal CMS 2.2 with Haven (Trash 3.1.0, Drupal core 11.4.7) shows the message neither in the console output of drush site:install nor in the database log. Trash works afterwards: a deleted node disappears from entity queries, is kept in the trash and can be restored. The message was probably logged by an older Trash release during installation.

The installer is not involved. Trash writes the message itself (TrashConfigSubscriber, 3.1.0) whenever trash.settings is saved with an entity type that is not defined at that moment or has no SQL storage. Trash installs an empty list; the recipe drupal_cms_site_template_base installs Trash and Node and then adds node and canvas_page through a config action, when Node is already defined.

Problem/Motivation

Each installation log contains:

'node' is enabled in trash.settings but its storage does not support Trash; entity queries for this type will fail until it is removed from the 'enabled_entity_types' configuration.

Steps to reproduce

Install Drupal CMS 2.2 with any site template and check the log.

Proposed resolution

To be determined (likely installation order of Trash vs. node storage).

Copy to drupal.org

Issue title:

Every site template installation logs "'node' is enabled in trash.settings but its storage does not support Trash"

Issue summary (paste it into the "Issue summary" field; project, component, category and priority are in the table above):

<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Each installation log contains:</p>
<code>'node' is enabled in trash.settings but its storage does not support Trash; entity queries for this type will fail until it is removed from the 'enabled_entity_types' configuration.</code>
<h3 id="summary-steps-reproduce">Steps to reproduce</h3>
<p>Install Drupal CMS 2.2 with any site template and check the log.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>To be determined (likely installation order of Trash vs. node storage).</p>