Hello and thanks for this cool module, it came just perfectly timed for a project I am working on.
It works fine except one thing. I have a form that is sent with your button, and a rule that is triggered upon the button press. The rule sends out an email to me, but this email is received exactly 10 times. Switching on the debugging output in "rules" shows, that the action is in fact triggered 10 times, so I suppose this has something to do with your module.
Maybe you find the time to try to recreate this issue.
Thanks,
Jochen
Comments
Comment #1
BassistJimmyJam commentedI am unable to reproduce your issue. I have created a button that sends an email and enabled debug. I get the following output after clicking the button:
You can see that the event is only fired once ("Users Clicks a Button" has been invoked.). If you could provide me with your debug output and a more detailed explanation of your setup I will look into this further.
Thanks,
BassistJimmyJam
Comment #2
BassistJimmyJam commentedWell over a month without a response, closing.
Comment #3
my-family commentedI have to reopen this issue - I'm experiencing the same problem. When the button is clicked, the rule is performed at least 2 times but sometimes even more times (don't know the difference).
My debug output:
*
o 0 ms "Users Clicks a Button" has been invoked.
o 4.485 ms Executing the rule "Plán cesty - vyjádření - informace uživateli a vytvoření revize" on rule set "Users Clicks a Button"
o 4.624 ms Condition "Button is" evaluated to TRUE.
o 4.708 ms Action execution: "Load a referenced node"
o 6.325 ms Successfully added the new variable "referenced profile"
o 63.297 ms Action execution: "Send a mail to an arbitrary mail address"
o 80.681 ms Evaluation of "Users Clicks a Button" has been finished.
*
o 0 ms "Users Clicks a Button" has been invoked.
o 4.322 ms Executing the rule "Plán cesty - vyjádření - informace uživateli a vytvoření revize" on rule set "Users Clicks a Button"
o 4.472 ms Condition "Button is" evaluated to TRUE.
o 4.562 ms Action execution: "Load a referenced node"
o 6.033 ms Successfully added the new variable "referenced profile"
o 61.679 ms Action execution: "Send a mail to an arbitrary mail address"
o 85.492 ms Evaluation of "Users Clicks a Button" has been finished.
*
o 0 ms "Users Clicks a Button" has been invoked.
o 4.425 ms Executing the rule "Plán cesty - vyjádření - informace uživateli a vytvoření revize" on rule set "Users Clicks a Button"
o 4.57 ms Condition "Button is" evaluated to TRUE.
o 4.657 ms Action execution: "Load a referenced node"
o 6.294 ms Successfully added the new variable "referenced profile"
o 63.484 ms Action execution: "Send a mail to an arbitrary mail address"
o 82.478 ms Evaluation of "Users Clicks a Button" has been finished.
Thank you in advance for help... (otherwise the module is awesome, unfortenately I cannot use it with this bug)
(EDIT: the same behavior for latest -beta2- and -dev- versions).
Comment #4
BassistJimmyJam commentedI am still unable to reproduce this issue. Can you tell if the ajax call is being made more than once (by looking in Firebug or Chrome's developer tools)? Also, what version of Rules are you using?
Comment #5
BassistJimmyJam commentedComment #6
BassistJimmyJam commentedAlmost two months with no response, closing.
Comment #7
beautifulmindIn my case, the rule does not get triggered even once.