Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2010 at 09:23 UTC
Updated:
6 Oct 2010 at 18:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
fagoI had a short look at this issue and I think/hope I found the problem. Does the attached patch fix it for you? Have you specified the variable name with an underscore? (no dash!)
Basically it should have worked but the first (unnecessary) was wrong as it didn't pass the varname to RulesState::get().
Comment #2
fagoHm, bad bot. The tests are fine for me -> so I've gone ahead and committed it. Please report back whether it fixes the problem for you.
Comment #3
BenK commentedThanks, fago. I'll test this and report back...
Comment #4
BenK commentedI can confirm that the "privatemsg-message:author" issue reported by Berdir on the other thread is now fixed! :-)
We're still having an issue with "privatemsg_message:thread-id", but I need to check with Berdir if that one is still using the old dash format. We're currently getting the following error message:
10.518 ms Unable to apply data selector privatemsg_message:thread-id: Unknown data property thread_id.
--Ben