Hello, thank you for this module, I really needed it :)
Now my issue: no matter what action I choose it executes twice, below is my rules setup.
Events:
1.Votes are calculated for a Node
2.User votes on a Node
Conditions:
1.Content is of type = Article
2.Check the value of the vote
->Data Selector = node:votes:0
->Operator = Equals
->Data Value = 100
3.Evaluate the results of a vote
->Data Selector = node:vote-results
->Function->Value = Number of Votes
->Operator->Value = Equals
->Data Value = 2
regardless of what action I use, it executes it twice, anyone have any idea why?
thank you.
Comments
Comment #1
Desi Raaj commentedI have additional information maybe this will help
In status report I found the following problems under Token
The following tokens or token types are missing required name and description information:
$info['tokens']['vote_results']['count-vote-cache-id']
$info['tokens']['vote_results']['count-function']
$info['tokens']['vote_results']['average-vote-cache-id']
$info['tokens']['vote_results']['average-function']
$info['tokens']['vote_results']['sum-vote-cache-id']
$info['tokens']['vote_results']['sum-function']
Comment #2
torotil commentedHi,
it seems that you are listening to two events - afaik each of them triggers one of the two executions.
Perhaps you have configured votingapi to recalculate the votes on each vote. This would lead to both events being fired on each vote.
Comment #3
ntigh52 commentedsee http://drupal.org/node/1268394
Comment #4
bluegeek9 commented