First off I run many servers most of them are updated to the latest SVN
We have noticed a problem after updating to the latest SVN (for our installations at-least.)
Various methods have been used to install Vicidial. Primarily Vicibox however some scratch installations are also in effect.
After the update when an agent selects a callback and attempts to dial nothing happens.
(that's not exactly true, you just cant see what happens by default)
I ran this through Firefox to find out where the problem occurred and I received
- Code: Select all
TypeError: CFN_value is undefined
http://***.***********.com/agc/vicidial.php
Line 8537
This corresponds to line;
- Code: Select all
CFN_value = CFN_value.replace(RGnl,'+');
In true sticky plaster fashion I have added the following;
- Code: Select all
else
{
var CFN_value = CFV_array[CFN_tick];
}
///////////////////////////////////////ZOVOS EDIT///////////////////////////////////////
if (CFN_value===undefined)
{
alert("This popup should only appear when making a callback and is only temporary. please inform ********* if this popup is seen anywhere other than dialling a callback.");
CFN_value = '';
}
///////////////////////////////////////ZOVOS EDIT///////////////////////////////////////
alert(CFV_array[CFN_tick]," ",CFN_value);
CFN_value = CFN_value.replace(RGnl,'+');
CFN_value = CFN_value.replace(RGtab,'+');
This works fine and currently I haven't seen the popup appearing elsewhere in the system. Alas this is only a sticky plaster solution.
I have preformed a "svn blame" on the file and am currently looking for changes that would have caused the CFN_value to become undefined.
However this is going to take a while and i'm a tad worried about the havoc this may causeto the systems, I am quite lucky that I have a very good working relationship with all of my clients.
Additional information this occurs when the tick reaches 11
perhaps "if (CF_loaded=='1')" is suppose to fail so the ELSE kicks in and;
- Code: Select all
else
{
var CFN_value = CFV_array[CFN_tick];
}
However this is only speculation as setting the value to 11 is also valid.
This is one of the few areas of the system I am not versed in as javascript is a nightmare for me.
Any additional information would be handy. Thanks in advance all.