getTokenValue may miss string value when it's a DataTransferObject

Created on 25 August 2024, 3 months ago
Updated 8 September 2024, 2 months ago

Problem/Motivation

When the value in \Drupal\eca\Plugin\ECA\PluginFormTrait::getTokenValue is a DataTransferObject, then it is not used but the default value instead.

Proposed resolution

Check for the value being a DataTransferObject and continue with its getValue instead.

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024