Bug #729
closedWEBFORM wrong value on input form (Ingroups)
0%
Description
There is a bug in ingroups data entry form.
When you try to edit the "Web Form" property, the value stored is the value of the "Get Call Launch" property.
I searched a little bit the code and the problem is at file /var/www/html/application/views/go_ingroup/go_values.php line 46
A workaround solution follows.
Find:
$webformdata = split('=', $itemsumitexplode[12]); $webformdata = htmlspecialchars(urldecode($webformdata[1])); $webformdata_field = split('=', $itemsumitexplode[12]); $webformdata_field = htmlspecialchars(urldecode($webformdata_field[0]));
Replace with:
$webformdata = split('=', $itemsumitexplode[6]); $webformdata = htmlspecialchars(urldecode($webformdata[1])); $webformdata_field = split('=', $itemsumitexplode[6]); $webformdata_field = htmlspecialchars(urldecode($webformdata_field[0]));
Maybe a better solution was to match the field without an index, but I am not very confident with the code to fix it better.
Updated by Jerico James Milo almost 12 years ago
- Status changed from New to Closed
The $webformdata_field variable has nothing to do with "Get Call Launch" property. The $webformdata_field is for "Web Form property". This is simulated to our local server and It works fine. You don't need to change the $itemsumitexplode array variable.
Updated by Modulus SA almost 12 years ago
To reproduce the bug try the following in your local server:
- Go to Telephony -> Inbound -> Edit an Inbound record.
- Change the field "Web Form" and "Save settings".
- Go again at the record you just edited and check the value of the "Web Form" field.
I think this bug should be reopened as we can't have a webform for the inbound campaigns.
Thank you for your time!