Enqueue a task with a delay doesn't forward token?

Created on 9 August 2024, 5 months ago
Updated 10 August 2024, 5 months ago

Problem/Motivation

When I try to send an email with the forwarded token, the email is shown as blank in the logs.

I have tried select yes and no to replacing the tokens when sending email.

The token shows up in Enqueue a task with a delay action in the logs, but not shown in processing queued task event.

ECA doesn't give any errors on the logs, but using Queue UI to view the queue gives this error:

PHP_Incomplete_Class Object
(
    [__PHP_Incomplete_Class_Name] => Drupal\eca_queue\Task
    [taskName:protected] => sendmail
    [taskValue:protected] => 
    [data:protected] => Array
        (
            [[entity:field_email]] => __PHP_Incomplete_Class Object
                (
                    [__PHP_Incomplete_Class_Name] => Drupal\Core\Field\FieldItemList
                    [definition:protected] => __PHP_Incomplete_Class Object
                        (
                            [__PHP_Incomplete_Class_Name] => Drupal\field\Entity\FieldConfig
                            [entityTypeId:protected] => field_config
                            [enforceIsNew:protected] => 
                            [typedData:protected] => 
                            [cacheContexts:protected] => Array
                                (
                                )

                            [cacheTags:protected] => Array
                                (
                                )

                            [cacheMaxAge:protected] => -1
                            [_serviceIds:protected] => Array
                                (
                                )

                            [_entityStorages:protected] => Array

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024