You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2011/07/27 16:59:09 UTC

[jira] [Resolved] (CMIS-405) ObjectFactoryImpl error with PropertyDecimalDefinition

     [ https://issues.apache.org/jira/browse/CMIS-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-405.
---------------------------------

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.5.0
         Assignee: Florian Müller

Accepts now float, double, byte, short, integer and long as decimal values.

> 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
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.5.0
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> 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