|
From: Leif W <war...@us...> - 2003-07-18 14:14:27
|
In the ASP versions of the file, in function wsDispatch, an undefined
variable named "mn" is passed to ws__createSODAEnvelope. Is this correct?
It doesn't seem correct... Should a NULL value be passed instead, or should
mn be set to something beforehand?
Leif
JScript version
---------------
// check if internal system function returned any data
if(!isoda) {
// Not System Function - continue with dispatch & invoke dispatch events
if created
continueDispatch=true;
// trigger dispatch event
if (wso_hasDispatchEvent) {
value=ws__invokeEvent("dispatch");
if (value==false) {
// send error (E4) message to client - connection rejected
isoda = ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]);
----^^----
continueDispatch=false;
}else if(typeof(value)=="string") {
// send error (E1) message to client - system error
isoda = ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ " :
"+value+" while executing dispatch event")
----^^----
continueDispatch=false;
}
}
}
|