Disabled Form Processor instances are broken when re-enabled
Steps to replicate
- Create a form processor.
- Note the value of
civicrm_form_processor_instance.output_handler
, which by default should be OutputAllActionOutput
.
- From the main Form Processor screen, click Disable on the new form processor.
- Note the value of
civicrm_form_processor_instance.output_handler
is now Array
.
- Re-enable the form processor. The output handler is still set to the invalid value "Array".
- When you attempt to use the form processor, you get the following error:
Uncaught Error: Call to a member function handle() on string in /var/www/mysite.org/web/wp-content/civicrm-custom/extensions/form-processor/Civi/FormProcessor/Runner.php:129