Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
(Java) V4 4.3.0
-
None
Description
When you have a collection of complex types the client knows during serialization only the type of the collection. So when you have complex values of a derived type in the collection they get serialized incorrectly with a odata.type of the collection and not their own derived type.
The problem is that during the serialization we only have a ComplexValue without type information. The ODataBinderImpl will transform a ClientValue which has correct type information to a ComplexValue without type information. The easiest solution would be propably to add type information to ComplexValue.