[
https://issues.apache.org/jira/browse/CMIS-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145468#comment-14145468
]
David Annis commented on CMIS-847:
----------------------------------
Here is the serialized "properties" section of the request. If I leave out the
"Total" property, no exception is thrown.
<cmis:properties>
<cmis:propertyId
popertyDefinitionId="cmis:objectTypeId"><cmis:value>0x0101007E41BE0589832141A4837FBABAAF2798009BA50DEDC127384F82C6C852F6ABC4FE</cmis:value></cmis:propertyId>
<cmis:propertyString propertyDefinitionId=\"cmis:name\"><cmis:value>Goss
(1).pdf</cmis:value></cmis:propertyString>
<cmis:propertyString
propertyDefinitionId=\"Vendor_x0020_Name\"><cmis:value>Test
Vendor</cmis:value></cmis:propertyString>
<cmis:propertyString
propertyDefinitionId=\"PO_x0020_No\"><cmis:value>R01005172</cmis:value></cmis:propertyString>
<cmis:propertyString propertyDefinitionId=\"Job_x0020_Type\"><cmis:value>Paper
Scanning</cmis:value></cmis:propertyString>
<cmis:propertyString
propertyDefinitionId=\"Invoice_x0020_No\"><cmis:value>74451404</cmis:value></cmis:propertyString>
<cmis:propertyDateTime
propertyDefinitionId=\"Invoice_x0020_Date\"><cmis:value>2008-11-14T00:00:00</cmis:value></cmis:propertyDateTime>
<cmis:propertyDecimal
propertyDefinitionId=\"Total\"><cmis:value>819.08</cmis:value></cmis:propertyDecimal>
</cmis:properties>
> 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)