Project

General

Profile

Actions

Bug #729

closed

WEBFORM wrong value on input form (Ingroups)

Added by Modulus SA almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Bugs
Target version:
-
Start date:
06/28/2013
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Jerico James Milo almost 11 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.

Actions #2

Updated by Modulus SA almost 11 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!

Actions

Also available in: Atom PDF

Go to top