Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.7.1
-
None
-
None
Description
In org.apache.olingo.client.core.serialization.JsonDeserializer:345
final Object value = fromComplex((ObjectNode) child, codec); if (childType != null) { ((ComplexValue)value).setTypeName(childType.external()); }
sets the collection TypeName prefixed with "#" and thus it is is not found in the Edm.
This causes properties in ComplexValue collection elements (e.g. date) to be interpreted as String.
Some anecdotal testing has demonstrated that using childType.internal() fixes the issue.
Unfortunately I am pressed for time an unable to provide proper steps to verify it, but I figured if it is indeed a mistake of using external() instead of internal() whoever wrote this code might be able to recognize it and fix it.
i050510 if I'm not mistaken...