Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When parsing OData metadata, the Olingo ODataV4 client does not distinguish between Scale="0", Scale="variable", Scale="floating". See source code in master branch.
However, these values have different meanings, see the OData spec. 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.