ObjectFactoryImpl error with PropertyDecimalDefinition
------------------------------------------------------

                 Key: CMIS-405
                 URL: https://issues.apache.org/jira/browse/CMIS-405
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.4.0
         Environment: CMIS Workbench 0.4.0
            Reporter: Florent Amaridon


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. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to