CMS MADE SIMPLE FORGE

Form Builder

 

[#11530] Result sent twice to Formbrowser

avatar
Created By: jean-christophe ghio (jissey)
Date Submitted: Tue Aug 08 17:44:09 -0400 2017

Assigned To: Rolf (rolf1)
Version: 0.8.1.6
CMSMS Version: 2.2.2
Severity: Major
Resolution: Awaiting Response
State: Open
Summary:
Result sent twice to Formbrowser
Detailed Description:
Hello,
the field "Store results for FormBrowser" store two times the result in the
database.
StoreResponse function is called 2 times.
I've not found why, sorry, I've not found the solution.
Thx


History

Comments
avatar
Date: 2017-08-08 18:14
Posted By: Ryan Foster (RytoEX)

I'm familiar with this issue, and I've recently discussed this with Fernando
(JoMorg).  This is caused by the mact-preprocessing introduced in CMSMS 2.2.2. 
It caused all form dispositions to run twice.  For now, the only workaround is
to disable mact-preprocessing globally on the site by specifying this in your
config.php file:
$config['startup_mact_processing'] = false;

https://forum.cmsmadesimple.org/viewtopic.php?f=1&t=76886
https://docs.cmsmadesimple.org/configuration/config-file/config-reference#config_startup_mact_processing
      
avatar
Date: 2017-08-09 03:04
Posted By: jean-christophe ghio (jissey)

the same with the field "Write result to flat file" : the result is write two
times.
      
Updates

Updated: 2017-08-08 18:14
resolution_id: => 10