[
https://issues.apache.org/jira/browse/CMIS-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johannes updated CMIS-984:
--------------------------
Description:
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;}}
was:
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;}}
> 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)