Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-984

PortCMIS: Converting Int32 to BigInteger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • PortCMIS 0.2.0
    • None
    • None

    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;

      Attachments

        Activity

          People

            fmui Florian Müller
            Johannes Schacht Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: