Drupal Commerce related tasks are scattered across several groups

Created on 3 April 2022, about 3 years ago
Updated 11 February 2025, about 2 months ago

Problem/Motivation

I am not sure if i've spotted all task but i've noticed the following after installing drupal commerce 2 and statemachine. if you try to add/assign a new template to a task in the template element chooser you see the group Commerce Product with two tasks:

Publish selected product
Unpublish selected product

But in other groups there are more new tasks. based on their terminology it looks like they belong to Drupal Commerce as well:

Drupal Core:
Delete order
Delete product
Delete profile
Delete Promotion
Delete Store
Publish group
Publish product
Publish product variation
Publish profile
Save coupon
Save group
Save group content item
Save order
Save order item
Save payment method
Save product
Save product attribute value
Save product variation
Save profile
Save promotion
Save store
Unpublish group
Unpublish product
Unpublish product variation
Unpublish profile

Entity:
Delete order (Deprecated)
Delete product (Deprecated)
Delete promotion (Deprecated)
Delete store (Deprecated)

it is also odd why deprecated tasks are listed at all in the template chooser? would it be better only to show and rely onto stable tasks there?

Steps to reproduce

- install drupal commerce 2 and statemachine
- add a new task to a model in bpmn
-browse the element template chooser

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Closed: works as designed

Version

1.1

Component

User interface

Created by

🇩🇪Germany rkoller Nürnberg, Germany

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024