Workflow Notifications sending empty subject and body

Created on 8 August 2025, about 2 months ago

Problem/Motivation

Sending email notifications of state change produce empty email with no subject or body. On drupal 10.5.1 with worflow notifications 3.0.1

Steps to reproduce

Change a state.

Proposed resolution

Modify line 91 of src/Entity/WorkflowNotification.php to $module_name = 'workflow_notifications';
Current code: $module_name = basename(__FILE__, '.module'); returns WorkflowNotification.php
which prevent invocation of workflow_notification_mail.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

3.0

Component

Code

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

Comments & Activities

Production build 0.71.5 2024