Skip to Content Skip to Menu

Multiple CB Auto-Actions on same Trigger do not process

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago - 10 years 7 months ago #242321 by krileon
The field actions not working could be any number of reasons. For example the wrong trigger could be used, user could be set incorrectly, access could be invalid, or a conditional is failing.

Some of that can be debugged by setting Debug to Enable within the action then ensuring debug mode and maximum error reporting are set in Joomla global configuration then testing a registration.

Try ensuring access is set to Everybody and see if it also works as one appears to have a custom usergroup selected as the access.

CBSubs could also be causing problems here as well. CBSubs will do a user store and it maybe using the variables from the user object before your field action took affect, which would result in the changes from the action being lost.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 10 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • 3by400Inc
  • 3by400Inc
  • OFFLINE
  • Posts: 119
  • Thanks: 11
  • Karma: 0
10 years 7 months ago #242340 by 3by400Inc
We are not using CB Subs for this project and the action requires that I select my custom usergroup because that is the only group who should have this particular field value set.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 7 months ago #242370 by krileon
CB Auto Actions does not re-initialize the user object. It uses the user object sent by the trigger. When you change a field value or a value in relation to the user then the next action in line will not see that change as it does not work off references (it can't, as it has no idea which variable of a trigger is going to be a reference or not).

I'll look into adding a feature to re-load the user object, but aside from that there's nothing more I can suggest. Basically your field action does not see that their usergroup has changed. Setting it to everybody should cause the field action to work to help confirm this.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum