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

cannot create amount smaller than 0.10

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.8.0
    • None
    • odata4-client
    • None

    Description

      The following throws an exception 

      new ClientObjectFactoryImpl().newPrimitiveValueBuilder().buildDecimal(new BigDecimal("0.04")).toString();
      
      java.lang.IllegalArgumentException: org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException: The value '0.04' does not match the facets' constraints.
      

      Not sure if I'm doing anything wrong, but any number above 0.09 does work.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              runningonfumes wim wintmolders
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: