eca_base: Condition "Compare two scalar values" should evaluate to false when comparing different but undefined tokens

Issue information

From user: mxh

Related to !236 (merged)

Contribution record

Fork management

Problem/Motivation

The condition plugin "Compare two scalar values" replaces tokens using the clear option. If someone uses two different tokens, and both are undefined, then the condition evaluates to be true. However this behavior is unexpected, since the two tokens are different ones.

Steps to reproduce

Proposed resolution

Don't use the clear option to replace tokens in this condition.

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information