Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31812

Fix rounding of Long values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2021.0
    • Fix Version/s: None
    • Component/s: Rest API

      Description

      Steps to reproduce :

      1. define a field "stop_timestamp" of type Integer
      2. create a document and set the property "stop_timestamp" to 1668176372345619999
      3. observe that the view panel display this property with the value 1668176372345620000
      4. click on the Edit button and observe that the field "stop_timestamp" also contains 1668176372345620000 instead of 1668176372345619999
      5. running a REST call to fetch the document returns the same value
        "properties": {
        "sch_recording:stop_timestamp": 1668176372345620000
        },
        

      Expected result: the REST call (and the UI) displays the entered value = 1668176372345619999

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tmartins Thierry Martins
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: