[
https://issues.apache.org/jira/browse/CMIS-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15358730#comment-15358730
]
Florian Müller commented on CMIS-984:
-------------------------------------
I could reproduce it with setting the unit tests to x86.
> PortCMIS: Converting Int32 to BigInteger
> ----------------------------------------
>
> Key: CMIS-984
> URL: https://issues.apache.org/jira/browse/CMIS-984
> Project: Chemistry
> Issue Type: Bug
> Reporter: Johannes
> Assignee: Florian Müller
>
> I tried to upload a document with an Integer property. PortCMIS throws an
> error in DataImpl.cs at the line:
> {{return new BigInteger((long)value);}}
> I changed to:
> {{return new BigInteger((int)value);}}
> and it is working now.
> Maybe it has to do with the fact that my application is x86.
> Same for decimal, I changed:
> {{return (decimal)value;}}
> to:
> {{return (decimal)(double)value;}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)