Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.4.0
-
None
-
CMIS Workbench 0.4.0
Description
I use workbench to test my server.
On edit properties all works exceptly DECIMAL field when i debug workbench i see the methode ObjectFactoryImpl.convertProperties(Map<String, ?> properties, ObjectType type, Set<Updatability> updatabilityFilter) can't convert double or float to BigDecimal and throw IllegalArgumentException("Property '" + id + "' is a Decimal property!");.
To solve it just adding a test for Double and Float.