Support renaming "provided" variables

Created on 11 June 2019, about 5 years ago
Updated 21 July 2024, about 2 months ago

If trying to add multiple variables as actions, only the last of those appears in the data-selction, because the variables have no variable names. Same for calculation results and dataconversions.

Step to reproduce:

Event: Entity is saved
Condition: none

Action1: add Variable -> string -> enter string1
Action2: add Variable -> string -> enter string2
Action3: show message -> dataselection -> select "variable"

Result: Message shows "string2"

Variables of any kind need a name, otherwise rules can't deal with multiple variables.

πŸ“Œ Task
Status

Needs review

Version

4.0

Component

Rules Core

Created by

πŸ‡©πŸ‡ͺGermany semanthis

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024