Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-704

Ingesting a managed content datastream via REST fails with files larger than 2GB

    Details

    • Roadmap Theme:
      Interface: REST/HTTP, Storage: Large Datastreams

      Description

      Reported by Graeme West
      http://fedora-commons.1317035.n2.nabble.com/Large-datastream-ingest-issue-Bad-request-unable-to-fulfill-REST-API-request-java-lang-NumberFormatE-td5094256.htm

      Ingesting a file larger than 2GB fails with java.lang.NumberFormatException.

      The source of this is in RestUtil -
      rContent.size = Integer.parseInt(lengthHeaders.get(0));

      This should be long rather than int (along with inner class RequestContent size field and related methods).

        Attachments

          Activity

            People

            • Assignee:
              penthes Stephen Bayliss
              Reporter:
              penthes Stephen Bayliss
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: