Actions broken when using workflow transition form

Created on 30 July 2024, 8 months ago

Problem/Motivation

When using the "Workflow transition form" widget (from Workflow → module) the actions are broken. Gin recognizes the workflow transition form as a content form so uses it to build the actions rather than the main entity form's actions.

Steps to reproduce

- Enable workflow module and configure a workflow
- Add workflow to content type
- Set workflow field width to "Workflow transition form"
- Note expected actions (e.g., save, preview, delete, publish toggle) are missing and replaced with actions from the workflow transition form.

Proposed resolution

Add the workflow transition form ID to the $form_ids_to_ignore list. Note the workflow transition form ID is unique between forms so have to use a prefix such as "workflow-transition-".

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States greenskin

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024