Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » JavaScript error handling
JavaScript error handling [message #696202] Wed, 13 July 2011 13:46 Go to next message
Sabine Neubauer is currently offline Sabine NeubauerFriend
Messages: 15
Registered: June 2011
Junior Member
Hi all,

since RAP 1.4 M6 javascript errors outside of server-responses are catched (https://bugs.eclipse.org/bugs/show_bug.cgi?id=334758) and an error page appears.

I can understand the reason mentioned here. Nevertheless, we want to revert this behaviour in productive environments. There it is very annoying if a java script error page occurs because the user has to start a new session and login again. For testing it is great because warnings in the browser are often not recognized.

Is there a way to patch the rap bundles? Unfortunately, I did not find any hint in which classes/files the changes were made.

Kind regads and thanking you in anticipation,
Sabine Neubauer


Re: JavaScript error handling [message #696219 is a reply to message #696202] Wed, 13 July 2011 14:14 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2421
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Sabine,
the needed code is in ErrorHandler.js#processJavaScriptError.
HTH,
Ivan

On 7/13/2011 4:46 PM, Sabine Neubauer wrote:
> Hi all,
>
> since RAP 1.4 M6 javascript errors outside of server-responses are
> catched (https://bugs.eclipse.org/bugs/show_bug.cgi?id=334758) and an
> error page appears.
> I can understand the reason mentioned
> http://www.eclipse.org/forums/index.php/mv/msg/213905/684817/#msg_684817.
> Nevertheless, we want to revert this behaviour in productive
> environments. There it is very annoying if a java script error page
> occurs because the user has to start a new session and login again.
> For testing it is great because warnings in the browser are often not
> recognized.
>
> Is there a way to patch the rap bundles? Unfortunately, I did not find
> any hint in which classes/files the changes were made.
>
> Kind regads and thanking you in anticipation,
> Sabine Neubauer
>
>
>
Re: JavaScript error handling [message #696687 is a reply to message #696219] Thu, 14 July 2011 15:24 Go to previous message
Sabine Neubauer is currently offline Sabine NeubauerFriend
Messages: 15
Registered: June 2011
Junior Member
Hi Ivan,

thanks for your response. All works as I need it.

Best,
Sabine
Previous Topic:Update to 1.4 ?
Next Topic:Is it possible to use Java script in RAP
Goto Forum:
  


Current Time: Tue Oct 03 17:10:00 GMT 2023

Powered by FUDForum. Page generated in 0.01581 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top