Missing Payload for handleOperation() Method when using Internet Explorer 8 [message #1405896] |
Fri, 08 August 2014 12:28 |
Timo Rohrberg 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02035 seconds