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

BassistJimmyJam’s picture

Assigned: Unassigned » BassistJimmyJam
Status: Active » Postponed (maintainer needs more info)

I 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:

  • 0 ms "Users Clicks a Button" has been invoked.
  • 0.725 ms Executing the rule "Button testing" on rule set "Users Clicks a Button"
  • 1.031 ms Condition "Button is" evaluated to TRUE.
  • 1.209 ms Action execution: "Send a mail to an arbitrary mail address"
  • 2349.076 ms Evaluation of "Users Clicks a Button" has been finished.

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

BassistJimmyJam’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Well over a month without a response, closing.

my-family’s picture

Status: Closed (fixed) » Active

I 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).

BassistJimmyJam’s picture

I 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?

BassistJimmyJam’s picture

Status: Active » Postponed (maintainer needs more info)
BassistJimmyJam’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Almost two months with no response, closing.

beautifulmind’s picture

Version: 6.x-1.x-dev » 7.x-1.0-beta1
Category: Bug report » Support request
Issue summary: View changes
Status: Closed (cannot reproduce) » Active

In my case, the rule does not get triggered even once.