Details
-
Question
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.8.0
-
None
-
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
- is related to
-
OLINGO-1568 Error serializing BigDecimal when passed certain BigDecimal values
- Closed