ECA Content - field value changed condition with base field overrides

Created on 27 January 2025, 2 days ago

Problem/Motivation

The field value changed condition always returns true (or false if negated) when using a base field override on a boolean field.

Steps to reproduce

1. Ensure you have a base field override on a boolean field.
For example: Uncheck the default option for the โ€œPromoted to front page" base field on a content type configuration form.
2. Use the overridden field in an โ€œEntity: field value changed" condition of your workflow.
3. Observe that your condition stays the same whether the field value was changed or not.

Proposed resolution

There is already logic in place to fix strict checking on boolean and entity reference field types. If we apply that logic to FieldConfigInterface rather than FieldConfig, it will cover this extended case. Both FieldConfig and BaseFieldOverride implement FieldConfigInterface.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States rapking United States

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