Steps to reproduce it from a clean install.

PHP 8.1
drupal/core:9.5

Running Kernel test of a custom module which depends on drupal/commerce:2.

The "entity_delete_action:commerce_store" plugin does not exist.
Exception: Exception when installing config for module commerce_store, message was:
The "entity_delete_action:commerce_store" plugin does not exist. Valid plugin IDs for Drupal\Core\Action\ActionManager are:
user_add_role_action,
...
entity:delete_action:commerce_store,
...
entity:unpublish_action:commerce_product_variation

git grep 'entity_delete_action:'

CommentFileSizeAuthor
#5 3330491-5.patch1.75 KBjsacksick

Comments

Sweetchuck created an issue. See original summary.

jsacksick’s picture

Category: Bug report » Support request
Status: Active » Closed (won't fix)

I'm not really sure what we can do here as the error is occurring on custom tests.

Commerce core tests are passing, as well as contrib tests depending on Commerce, so I don't really see how this qualifies as a bug report in the Commerce queue.

sweetchuck’s picture

The custom module has nothing to do with the error message,
and the error message says:
the identifier is entity:delete_action:commerce_store instead of entity_delete_action:commerce_store.

: vs _

jsacksick’s picture

Category: Support request » Bug report
Status: Closed (won't fix) » Active

Ok we're using the action defined by the entity module and it is now deprecated in favor of the core action, so we should be able to use the core action instead.

See https://git.drupalcode.org/project/entity/-/blob/8.x-1.x/src/Plugin/Acti....

jsacksick’s picture

Status: Active » Needs review
StatusFileSize
new1.75 KB

  • jsacksick committed df795a29 on 8.x-2.x
    Issue #3330491 by jsacksick, Sweetchuck: Use the core entity delete...
jsacksick’s picture

Status: Needs review » Fixed

Committed, thanks for your report.

  • jsacksick committed 7218670f on 3.0.x
    Issue #3330491 by jsacksick, Sweetchuck: Use the core entity delete...
sweetchuck’s picture

Thank you for the quick response and for the commit mention.

Status: Fixed » Closed (fixed)

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