Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Missing Payload for handleOperation() Method when using Internet Explorer 8(Sometimes the handleOperation() method is missing some payload for set operations when using Internet Explorer 8)
Missing Payload for handleOperation() Method when using Internet Explorer 8 [message #1405896] Fri, 08 August 2014 12:28 Go to next message
Timo Rohrberg is currently offline Timo RohrbergFriend
Messages: 69
Registered: September 2011
Location: Karlsruhe
Member
Hello everybody,

currently, we are observing a weired situation in our Eclipse RAP based application: When using the application with the Internet Explorer 8 (Version: 8.0.6001.18702), sometimes Text widget fields do not store entered text. They just keep their old value.

We tracked the problem down to the org.eclipse.rap.rwt.internal.protocol.ProtocolUtil.handleOperation() method. One can reliably observe that whenever the Text widget is not updated, this operation is missing the required payload to execute the org.eclipse.swt.internal.widgets.textkit.TextOperationHandler.handleSetText() method successfully: In normal situation, an update call delivers payload similar to this one:

{"selection":[4,4],"text":"test"}

In error situations, the update call delivers something like this:

{"selection":[4,4]}

Obviously, the information of setting the "text" property of the Text widget is missing. The org.eclipse.swt.internal.widgets.textkit.TextOperationHandler.handleSetText() method subsequently skips the setting of the "text" property due to a "null" valued PROP_TEXT property.

Do you guys have any idea of what happens here? Is there any reliable method of debugging the JSON protocol communication between the browser and the RAP server?

Thanks for any hints.

Regards
Timo
Re: Missing Payload for handleOperation() Method when using Internet Explorer 8 [message #1405904 is a reply to message #1405896] Fri, 08 August 2014 12:45 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Timo,
which RAP version are you using? Missing "text" property from the
protocol message means that the client-side JavaScript Text widget does
not detect (?!) text changes. This is cient-side issue and must be
debugged somewhere inside Text.js/BasicText.js.
Please note that the IE8 specific JavaScript code has been removed from
RAP master (3.0) due to discontinued IE7/8 support.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:FileUpload + Feedback
Next Topic:How can i add Google Analytics?
Goto Forum:
  


Current Time: Fri Apr 26 05:09:57 GMT 2024

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

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

Back to the top