wim wintmolders created OLINGO-1549:
---------------------------------------

             Summary: cannot create amount smaller than 0.10
                 Key: OLINGO-1549
                 URL: https://issues.apache.org/jira/browse/OLINGO-1549
             Project: Olingo
          Issue Type: Question
          Components: odata4-client
    Affects Versions: (Java) V4 4.8.0
            Reporter: wim wintmolders


The following throws an exception 
{code:java}
new ClientObjectFactoryImpl().newPrimitiveValueBuilder().buildDecimal(new 
BigDecimal("0.04")).toString();
{code}
{noformat}
java.lang.IllegalArgumentException: 
org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException: The value '0.04' 
does not match the facets' constraints.
{noformat}
Not sure if I'm doing anything wrong, but any number above 0.09 does work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to