Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 49F9C200B40 for ; Fri, 1 Jul 2016 11:58:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4882E160A5D; Fri, 1 Jul 2016 09:58:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B8F8F160A6C for ; Fri, 1 Jul 2016 11:58:12 +0200 (CEST) Received: (qmail 32244 invoked by uid 500); 1 Jul 2016 09:58:11 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 31842 invoked by uid 99); 1 Jul 2016 09:58:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2016 09:58:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 45EF22C02AF for ; Fri, 1 Jul 2016 09:58:11 +0000 (UTC) Date: Fri, 1 Jul 2016 09:58:11 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-984) PortCMIS: Converting Int32 to BigInteger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 01 Jul 2016 09:58:13 -0000 [ https://issues.apache.org/jira/browse/CMIS-984?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D153587= 30#comment-15358730 ]=20 Florian M=C3=BCller commented on CMIS-984: ------------------------------------- I could reproduce it with setting the unit tests to x86.=20 > 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=C3=BCller > > I tried to upload a document with an Integer property. PortCMIS throws an= error in DataImpl.cs at the line: =20 > {{return new BigInteger((long)value);}} > I changed to:=20 > {{return new BigInteger((int)value);}} > and it is working now.=20 > Maybe it has to do with the fact that my application is x86.=20 > Same for decimal, I changed: > {{return (decimal)value;}}=20 > to: > {{return (decimal)(double)value;}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)