chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Annis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-847) SharePoint Decimal Type Always Causes Exception
Date Tue, 23 Sep 2014 23:15:33 GMT

    [ https://issues.apache.org/jira/browse/CMIS-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145591#comment-14145591
] 

David Annis commented on CMIS-847:
----------------------------------

It gets even stranger - a String property with a fractional value greater than 0.12 works
fine.  The whole number portion doesn't seem to matter, but every single fractional value
below .12 fails, and every value greater than that I've tried has succeeded.

The only way I can get a Decimal property to work is if it has the exact same number of non-zero
digits after the decimal point as the number of decimal places specified for the type in SharePoint,
or if it has no fractional digits.  For example. 809.22 works, but 809.02 and 809.1 both fail.

I can't make any sense of this.  If I'm passing an invalid property value, I should be getting
an Constraint exception rather than an HTTP OK.  I'm going to do some testing with Documentum
and Alfresco to see if this issue is restricted to SharePoint.   If anyone can help with this
I would certainly appreciate it.

> SharePoint Decimal Type Always Causes Exception
> -----------------------------------------------
>
>                 Key: CMIS-847
>                 URL: https://issues.apache.org/jira/browse/CMIS-847
>             Project: Chemistry
>          Issue Type: Bug
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.6
>         Environment: Windows 7 / AtomPub Binding
>            Reporter: David Annis
>            Assignee: Florian Müller
>
> When using CreateDocument() with SharePoint, any time the properties include a Decimal
type, the HTTP response from the Post() call is "OK" instead of "Created", which causes AbstractAtomPubService.Post()
to throw an exception.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message