mrcl23 / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

XmlRpcSerializer.Serialize throws XmlRpcUnsupportedTypeException regardless of NonSerializedAttribute #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a class 
2. Add a new field of some type not supported by XmlRpcSerializer
3. Add NonSerializedAttribute to that filed
4. Try to serialize an instance of the class

Expected: class is serialized successfully
Observed: exception is thrown

Plausible culprit is XmlRpcServiceInfo.GetXmlRpcType because it doesn't take 
NonSerializedAttribute into account.

Original issue reported on code.google.com by Ivan.Bac...@gmail.com on 19 Oct 2010 at 3:51

GoogleCodeExporter commented 9 years ago
Fixed in revision 132. Change XmlRpcServiceInfo.GetXmlRpcType() to ignore 
members with this attribute.

Original comment by ChasC...@gmail.com on 19 Oct 2010 at 7:40

GoogleCodeExporter commented 9 years ago

Original comment by ChasC...@gmail.com on 6 Mar 2011 at 10:25