[ https://issues.apache.org/jira/browse/OLINGO-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179435#comment-17179435 ]
Ramya Vasanth commented on OLINGO-1472: --------------------------------------- The fix is provided as part of the commit [https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=2b96e6e2a18f406479d993e476ba9443239e6c20] This includes only client side API fix. > Scale="variable", Scale="floating" not supported > ------------------------------------------------ > > Key: OLINGO-1472 > URL: https://issues.apache.org/jira/browse/OLINGO-1472 > Project: Olingo > Issue Type: Bug > Components: odata4-client > Reporter: Heiko Theißen > Priority: Major > Attachments: OLINGO-1472.diff > > > When parsing OData metadata, the Olingo ODataV4 client does not distinguish > between {{Scale="0"}}, {{Scale="variable"}}, {{Scale="floating"}}. See > [source code in master > branch|https://github.com/apache/olingo-odata4/blob/master/lib/client-core/src/main/java/org/apache/olingo/client/core/edm/xml/ClientCsdlProperty.java#L72]. > However, these values have different meanings, see the [OData > spec|https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/os/odata-csdl-xml-v4.01-os.html#sec_Scale]. > Therefore a client application must be able to distinguish between them. > Currently, the Olingo client parses a decimal value with variable scale like > {{"Amount": "12.34"}} into {{"Amount": 12}}, i.e., it cuts off the decimal > places. -- This message was sent by Atlassian Jira (v8.3.4#803005)