Symptoms
Error on deserialize method
Diagnoses
We have a SmartObject with a bunch of methods and all work fine except one called "Partner Table - Deserialize". I can serialize just fine but I'm getting errors when deserializing.
The error states 'Input string was not in the correct format'.
An SAP structure was marked for serializationdeserialization similarly to KB:
http://help.k2.com/kb000712
The Serialize method executes fine without any inputs, but the Deserialize method will error with "Input string was not in the correct format" if the input value contains field of type "Decimal" or "Datetime" that are not populated.
Resolution
A coldfix was provided to the customer to allow for the Deserialization of structures in which these field types were not populated.