By displaying response message in Wt.js (attached) I notice that in case of an error the whole page is in "msg" (attached).
This differs from no-problem-cases when only AJAX updated are transmitted.



On 09/15/10 11:54, [email protected] wrote:
Hi, all.
Sometimes sporadically I get subj. error displayed in a browser dialog box when browsing my wt application:

Wt internal error: SyntaxError: syntax error, code: undefined, description: undefined

Sometimes instead of "syntax error" there is a "unterminated string literal" message.

I found that it reproduces better if rapidly refreshing the page.
Issue is relevant to wt-2.2.3 and wt-3.1.4 (didn't test other versions).
Attached a screenshot.

Does anyone have the idea what causes this issue and how to fix it?

Andrey.

Index: Wt.js
===================================================================
--- Wt.js       (revision 11236)
+++ Wt.js       (working copy)
@@ -930,7 +930,7 @@
     _$_APP_CLASS_$_._p_.autoJavaScript();
   } catch (e) {
     alert("Wt internal error: " + e + ", code: " +  e.code 
-    + ", description: " + e.description /* + ":" + msg */);
+    + ", description: " + e.description + ":" + msg);
   }
 
   if (timer)

<<attachment: wt_error.gif>>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to