From: SourceForge.net <no...@so...> - 2005-07-29 19:30:23
|
Bugs item #607503, was opened at 2002-09-10 13:41 Message generated for change (Comment added) made by doug_melvin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=607503&group_id=5757 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DynAPI 2 API Group: None Status: Open Resolution: None Priority: 5 Submitted By: Junn Salvatin (ragerunner) Assigned to: Nobody/Anonymous (nobody) Summary: Exception occured when using IE 6.0 Initial Comment: We getting an exception when we switch to IE 6.0 from IE 5.5. Here's the error message: DynAPI reported an error Error in project: 'http://..../...../desktop.jsp Line number: 185 Message: Exception occurred. I was able to track this message in Dynapi.js in the function call: DynAPIObject.prototype.errorHandler = function (msg, url, lno) { if (!this.loaded || !this.errorHandling) return false; if (is.ie) { lno-=1; alert("DynAPI reported an error\n\nError in project: '" + url + "'.\nLine number: " + lno + ".\n\nMessage: " + msg); } else if (is.ns4) { alert("DynAPI reported an error\n\nError in file: '" + url + "'.\nLine number: " + lno + ".\n\nMessage: " + msg); } else return false; return this.returnErrors; } I can't determine wherethe exception is occuring in the desktop.jsp. The line number seems to be misleading. Can any one help us? Can some one tell us how to find out which version of Dynapi we're using. We inherited the code from a vendor and we don't know which version of Dynapi we're using. Thanks.... for your support.... ---------------------------------------------------------------------- Comment By: Doug Melvin (doug_melvin) Date: 2005-07-29 12:30 Message: Logged In: YES user_id=184788 Can someone please remind us how to turn off the dynapi error handling? I expect it will be a lot easier for them to debug if they could get the "raw" error. Junn: if the root of your dynapi folder looks something like this: /dynapi/ /lib/ dynapi.js then you are using an older version in which case I will need more info to tell you what version you are using. DynAPI 3+ has a structure more like this: /src/ /api/ /ext/ /fx/ /gui/ /util/ dynapi.js version.xml with version.xml containing the exact version. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=607503&group_id=5757 |