Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1472

Scale="variable", Scale="floating" not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • (Java) V4 4.9.0
    • odata4-client
    • 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.

      Attachments

        1. OLINGO-1472.diff
          9 kB
          ningbin

        Activity

          People

            mirbo mibo
            HeikoTheissen Heiko Theißen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h