chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CMIS-405) ObjectFactoryImpl error with PropertyDecimalDefinition
Date Wed, 27 Jul 2011 14:59:09 GMT

     [ 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

       

Mime
View raw message