Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2011 at 06:05 UTC
Updated:
15 Feb 2011 at 12:40 UTC
If I'm not mistaken, the attached patch fixes a problem where you derived a variable name for finding an action's parameter in the state but then used the name of the parameter instead of the variable. I found this issue when creating a user account, fiddling with it, and saving it. Because I changed the name of the provided variable from entity_created to account_created, it wasn't finding it in subsequent actions.
| Comment | File | Size | Author |
|---|---|---|---|
| state_var_name.patch | 1.19 KB | rszrama |
Comments
Comment #1
rszrama commentedGo, go, gadget test bot!
Comment #2
fagoOh, that's odd. We really need test-coverage so we can ensure that cannot happen again.
I've added a test-case for that + committed it. Thanks!