CiviRules - missing rule_action_id in Chasse set step civirules action form
Hi @artfulrobot,
I had a strange bug in CiviRules when I was adding Set Chasse Step as linked action. After selecting the desired journey step and submitting the form it returned to a different CiviRule (the first one on the list). Then I checked the journey-related CiviRule and I had a warning: no step-code found.
After investigation I realized the rule_action_id
was missing from the form and the action_params
was saved in the DB to that other civirule action in the civirule_rule_action
table.
Adding a rule_action_id
hidden field to the form in CRM_Chasse_Form_ChasseSetStepRulesAction::buildQuickForm()
solved the problem.
I could reproduce the bug on a fresh install on a different server as well. I'm running: CiviCRM 5.22.1 also 5.23.3. CiviRules 2.13 Drupal 7.69
I'm just wondering how could this happen, was it any mistake on my side? Or CiviRules changed along the way? Maybe is there any other solutions?
Thanks,
Sandor