The transition comment field display logic have changed

Created on 9 September 2025, 23 days ago

Problem/Motivation

The workflow transition comment field is now always displayed, even if there are no applicable transitions.
This wasn't the case in the earlier versions, and I couldn't find any mention of this in the release notes; thus, I suppose this could be an unintentional change.

The change has happened here:
https://git.drupalcode.org/project/workflow/-/commit/410474a7b157a0d0828...

Previously, the comment fields wouldn't be displayed if $show_widget is FALSE. Now, it's always displayed.

Steps to reproduce

Check the mentioned commit, compare versions 1.8.0 and 2.0.0.

Proposed resolution

Check if this is an intentional change.

Remaining tasks

Verify the change, either revert the behavior or close the issue if it works as designed.

User interface changes

The comment field display logic may be reverted to 1.8.0 behavior.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine abramm Lutsk

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

Comments & Activities

Production build 0.71.5 2024