Export to GitHub

struts2gwtplugin - issue #19

Serialization fails for return types which do not implement IsSerializable


Posted on Oct 15, 2010 by Helpful Dog

What steps will reproduce the problem? 1. create an RPC method which gets handled by the GWT servlet 2. execute an RPC call at the client side

What is the expected output? What do you see instead? The IsSerializable interface is no more required to mark serializable classes. So therefore, we expect that serialization of a class implementing Java's Serializable should work. Unfortunately, the GWT servlet uses the LegacySerializationPolicy instead of the StandardSerializationPolicy.

What version of the product are you using? On what operating system? version 1.02

Please provide any additional information below. We patched the GWT servlet implementation (see attached patch). For serializing the result object, the GWT servlet uses the StandardSerializationPolicy provided by the RPC request.

Attachments

Comment #1

Posted on Oct 15, 2010 by Helpful Dog

Sorry for the issue duplication, you can remove this issue since it is a duplicate of issue 18

Status: New

Labels:
Type-Defect Priority-Medium