Problem/Motivation

There is an error from Trash on install of Drupal CMS since the 3.0.30 release:

[error] '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.

Seems to just be noise as obviously node does support Trash, and everything works fine post install, but would be good to squash it. I am assuming it's an ordering thing where the import is happening before something else that needs to happen.

Steps to reproduce

mkdir byte && cd byte 
ddev config --project-type=drupal11 --docroot=web 
ddev composer create-project drupal/cms 
ddev composer require drupal/byte 
ddev drush si ../recipes/byte -y

Proposed resolution

TBC

Comments

pameeela created an issue. See original summary.

dkmishra’s picture

Status: Active » Needs review
StatusFileSize
new3.74 KB

Please try this patch.

pameeela’s picture

Status: Needs review » Needs work

This should be an MR, not a patch, and if you used AI in creating this patch you should disclose it.

I have not reviewed the code specifically but the comment block is very verbose and links to this issue, which is not generally done.

dkmishra’s picture

Fair point — I used AI assistance to help draft parts of this patch, will convert this to an MR and clean up the comment block so it's not overly verbose and doesn't reference the issue number.

amateescu’s picture

Status: Needs work » Fixed

I've reverted the commit that caused this. 3ec9a47 on 3.x, d4089bf on 3.1.x.

Will release 3.0.31 shortly, sorry for the trouble :)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

pameeela’s picture

No trouble at all, thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.